forked from enlightenment/enlightenment
e zone - handle null e_comp if comp is already shut down
this came from backlight shutdown that got current zone... and getting zone relied on e_comp being valid. @fix
This commit is contained in:
parent
7f5d75e737
commit
e0e7af80bb
|
@ -400,6 +400,7 @@ e_zone_current_get(void)
|
||||||
Eina_List *l = NULL;
|
Eina_List *l = NULL;
|
||||||
E_Zone *zone;
|
E_Zone *zone;
|
||||||
|
|
||||||
|
if (!e_comp) return NULL;
|
||||||
if (!starting)
|
if (!starting)
|
||||||
{
|
{
|
||||||
int x, y;
|
int x, y;
|
||||||
|
|
Loading…
Reference in New Issue