mirror of
https://github.com/brl/mutter.git
synced 2024-11-29 03:20:46 -05:00
wayland: Check for launcher before freeing it
This prevents a segfault on shutdown.
This commit is contained in:
parent
7a8de0c0af
commit
9567fa9c6a
@ -760,6 +760,8 @@ meta_wayland_finalize (void)
|
|||||||
compositor = meta_wayland_compositor_get_default ();
|
compositor = meta_wayland_compositor_get_default ();
|
||||||
|
|
||||||
meta_xwayland_stop (compositor);
|
meta_xwayland_stop (compositor);
|
||||||
|
|
||||||
|
if (compositor->launcher)
|
||||||
meta_launcher_free (compositor->launcher);
|
meta_launcher_free (compositor->launcher);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user