compositor-drm: Destroy sprites before destroying the outputs
This commit is contained in:
parent
a0868a2d64
commit
3d64a3e868
|
@ -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);
|
||||
|
||||
|
|
Loading…
Reference in New Issue