mirror of
https://github.com/brl/mutter.git
synced 2024-11-29 11:30:45 -05:00
Revert "wayland-surface: Allow extension resources to be double-destroyed"
This reverts commit 2ebecc5370
.
This commit is contained in:
parent
600a0f836f
commit
a8632c2546
@ -470,10 +470,6 @@ static void
|
||||
destroy_surface_extension (struct wl_resource *resource)
|
||||
{
|
||||
MetaWaylandSurfaceExtension *extension = wl_resource_get_user_data (resource);
|
||||
|
||||
if (extension->resource == NULL)
|
||||
return;
|
||||
|
||||
wl_list_remove (&extension->surface_destroy_listener.link);
|
||||
extension->surface_destroy_listener.notify = NULL;
|
||||
extension->resource = NULL;
|
||||
|
Loading…
Reference in New Issue
Block a user