forked from enlightenment/enlightenment
Test for valid Wayland compositor before trying to shutdown.
Signed-off-by: Chris Michael <devilhorns@comcast.net>
This commit is contained in:
parent
61ef289fe4
commit
ca1b15918d
|
@ -294,6 +294,8 @@ e_comp_wl_shutdown(void)
|
|||
{
|
||||
E_Module *mod = NULL;
|
||||
|
||||
if (_e_wl_comp)
|
||||
{
|
||||
/* remove the idler */
|
||||
if (_e_wl_comp->idler) ecore_idler_del(_e_wl_comp->idler);
|
||||
|
||||
|
@ -320,6 +322,7 @@ e_comp_wl_shutdown(void)
|
|||
|
||||
/* free the compositor */
|
||||
E_FREE(_e_wl_comp);
|
||||
}
|
||||
|
||||
/* disable the loaded shell module */
|
||||
/* TODO: we should have a config variable somewhere to store which
|
||||
|
|
Loading…
Reference in New Issue