edje: unset internal _need_imf flag on shutdown

Summary:
failing to unset this causes the ecore_imf flag to go negative if edje
is ever completely shut down twice

@fix

Reviewers: ManMower

Reviewed By: ManMower

Subscribers: ManMower, #reviewers, cedric, #committers

Tags: #efl_layout_engine, #easy

Differential Revision: https://phab.enlightenment.org/D6763
This commit is contained in:
Mike Blumenkrantz 2018-08-14 10:45:13 -04:00
parent 5aa50e33c8
commit 59b8a63d65
1 changed files with 4 additions and 1 deletions

View File

@ -226,7 +226,10 @@ _edje_shutdown_core(void)
#ifdef HAVE_ECORE_IMF
if (_need_imf)
ecore_imf_shutdown();
{
ecore_imf_shutdown();
_need_imf = EINA_FALSE;
}
#endif
#ifdef HAVE_EPHYSICS