ecore: properly cleanup variable on shutdown, so that cycling another init doesn't crash.
This commit is contained in:
parent
a8b70953e4
commit
f7b08c4537
|
@ -1085,7 +1085,8 @@ _ecore_main_loop_shutdown(void)
|
|||
if (!ML_OBJ) return;
|
||||
_ecore_main_loop_clear(ML_OBJ, ML_DAT);
|
||||
// XXX: this seemingly closes fd's it shouldn't.... :( fd 0?
|
||||
efl_unref(ML_OBJ);
|
||||
efl_replace(&ML_OBJ, NULL);
|
||||
ML_DAT = NULL;
|
||||
}
|
||||
|
||||
void
|
||||
|
|
Loading…
Reference in New Issue