forked from enlightenment/efl
elm/quicklaunch: Increment _elm_init_count in ql_init
Apps call elm_shutdown before exiting. But when using Quiklaunch, elm_init has never been called, so the init count is still 0. This will be especially useful since programs compiled with -fPIC and linked with -pie can be loaded by Quicklaunch.
This commit is contained in:
parent
5cef1e1ea0
commit
9bb1ef2708
|
@ -664,6 +664,7 @@ elm_quicklaunch_init(int argc,
|
||||||
EINA_LOG_STATE_STOP,
|
EINA_LOG_STATE_STOP,
|
||||||
EINA_LOG_STATE_INIT);
|
EINA_LOG_STATE_INIT);
|
||||||
|
|
||||||
|
_elm_init_count++;
|
||||||
return _elm_ql_init_count;
|
return _elm_ql_init_count;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue