'everything' module: it seems to be possible that an idler cb is called after

the idler is deleted ...


SVN revision: 41987
This commit is contained in:
Hannes Janetzek 2009-08-25 21:58:13 +00:00
parent cc9d39a388
commit 13c6a42821
1 changed files with 4 additions and 1 deletions

View File

@ -89,6 +89,8 @@ _dirbrowse_idler(void *data)
Evry_Item_File *file;
int cnt = 20;
if (!p->idler) return 0;
EINA_LIST_FOREACH(p->files, l, file)
{
if (!file->mime)
@ -208,7 +210,8 @@ _cleanup(Evry_Plugin *plugin)
if (p->idler)
ecore_idle_enterer_del(p->idler);
p->idler = NULL;
EVRY_PLUGIN_ITEMS_CLEAR(p);
E_FREE(p);