mirror of
https://github.com/brl/mutter.git
synced 2024-11-25 09:30:45 -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,7 +760,9 @@ meta_wayland_finalize (void)
|
|||||||
compositor = meta_wayland_compositor_get_default ();
|
compositor = meta_wayland_compositor_get_default ();
|
||||||
|
|
||||||
meta_xwayland_stop (compositor);
|
meta_xwayland_stop (compositor);
|
||||||
meta_launcher_free (compositor->launcher);
|
|
||||||
|
if (compositor->launcher)
|
||||||
|
meta_launcher_free (compositor->launcher);
|
||||||
}
|
}
|
||||||
|
|
||||||
MetaLauncher *
|
MetaLauncher *
|
||||||
|
Loading…
Reference in New Issue
Block a user