e comp - set e_comp to null on shutdown so others dont access junk

e backlight was accessing e_comp implicitly during shutdown and comp
is shut down before backlight (that is correct as comp relies on
backlight). this fixes that

@fix
This commit is contained in:
Carsten Haitzler 2015-12-07 19:40:59 +09:00
parent 47f26b5b08
commit bc8cfec356
1 changed files with 1 additions and 0 deletions

View File

@ -1358,6 +1358,7 @@ e_comp_shutdown(void)
e_object_del(E_OBJECT(ec));
}
e_object_del(E_OBJECT(e_comp));
e_comp = NULL;
E_FREE_LIST(handlers, ecore_event_handler_del);
E_FREE_LIST(actions, e_object_del);
E_FREE_LIST(hooks, e_client_hook_del);