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 ();
|
||||
|
||||
meta_xwayland_stop (compositor);
|
||||
meta_launcher_free (compositor->launcher);
|
||||
|
||||
if (compositor->launcher)
|
||||
meta_launcher_free (compositor->launcher);
|
||||
}
|
||||
|
||||
MetaLauncher *
|
||||
|
Loading…
Reference in New Issue
Block a user