fix weird crash which started happening when efm windows were deleted after shutdown somehow...probably e18 change-related

SVN revision: 83551
This commit is contained in:
Mike Blumenkrantz 2013-02-01 11:39:19 +00:00
parent 813496a865
commit 43692b40ee
1 changed files with 5 additions and 1 deletions

View File

@ -734,7 +734,11 @@ _e_fwin_free(E_Fwin *fwin)
fwin->popup_timer = NULL;
E_FREE_LIST(fwin->popup_handlers, ecore_event_handler_del);
if (fwin->spring_parent) fwin->spring_parent->spring_child = NULL;
if (fwin->win) e_object_del(E_OBJECT(fwin->win));
if (fwin->win)
{
e_object_delay_del_set(E_OBJECT(fwin->win), NULL);
e_object_del(E_OBJECT(fwin->win));
}
free(fwin);
}