From 3d64a3e8684d7746d772747a50dca19ac34e7ec8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kristian=20H=C3=B8gsberg?= Date: Fri, 10 May 2013 12:36:04 -0400 Subject: [PATCH] compositor-drm: Destroy sprites before destroying the outputs --- src/compositor-drm.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/compositor-drm.c b/src/compositor-drm.c index 91f5ea55..bb8ea46c 100644 --- a/src/compositor-drm.c +++ b/src/compositor-drm.c @@ -2145,12 +2145,12 @@ drm_destroy(struct weston_compositor *ec) wl_event_source_remove(d->udev_drm_source); wl_event_source_remove(d->drm_source); + destroy_sprites(d); + weston_compositor_shutdown(ec); ec->renderer->destroy(ec); - destroy_sprites(d); - if (d->gbm) gbm_device_destroy(d->gbm);