fixup! wayland: Don't crash if wl_output resource is destroyed after being removed

This commit is contained in:
Ray Strode 2019-01-14 14:22:41 -05:00
parent a30c8fb83d
commit cb06e1ef33

View File

@ -468,7 +468,6 @@ static void
meta_wayland_output_finalize (GObject *object) meta_wayland_output_finalize (GObject *object)
{ {
MetaWaylandOutput *wayland_output = META_WAYLAND_OUTPUT (object); MetaWaylandOutput *wayland_output = META_WAYLAND_OUTPUT (object);
GList *l;
wl_global_destroy (wayland_output->global); wl_global_destroy (wayland_output->global);