mirror of
https://github.com/brl/mutter.git
synced 2024-11-13 01:36:10 -05:00
wayland-surface: Don't clean up the buffer_destroy_listener twice
double_buffered_state_destroy will do this for us.
This commit is contained in:
parent
365442c1ff
commit
1f7a6bf845
@ -517,10 +517,6 @@ meta_wayland_surface_free (MetaWaylandSurface *surface)
|
||||
compositor->surfaces = g_list_remove (compositor->surfaces, surface);
|
||||
|
||||
meta_wayland_buffer_reference (&surface->buffer_ref, NULL);
|
||||
|
||||
if (surface->pending.buffer)
|
||||
wl_list_remove (&surface->pending.buffer_destroy_listener.link);
|
||||
|
||||
double_buffered_state_destroy (&surface->pending);
|
||||
|
||||
meta_wayland_compositor_repick (compositor);
|
||||
|
Loading…
Reference in New Issue
Block a user