forked from enlightenment/enlightenment
'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:
parent
cc9d39a388
commit
13c6a42821
|
@ -89,6 +89,8 @@ _dirbrowse_idler(void *data)
|
||||||
Evry_Item_File *file;
|
Evry_Item_File *file;
|
||||||
int cnt = 20;
|
int cnt = 20;
|
||||||
|
|
||||||
|
if (!p->idler) return 0;
|
||||||
|
|
||||||
EINA_LIST_FOREACH(p->files, l, file)
|
EINA_LIST_FOREACH(p->files, l, file)
|
||||||
{
|
{
|
||||||
if (!file->mime)
|
if (!file->mime)
|
||||||
|
@ -208,6 +210,7 @@ _cleanup(Evry_Plugin *plugin)
|
||||||
|
|
||||||
if (p->idler)
|
if (p->idler)
|
||||||
ecore_idle_enterer_del(p->idler);
|
ecore_idle_enterer_del(p->idler);
|
||||||
|
p->idler = NULL;
|
||||||
|
|
||||||
EVRY_PLUGIN_ITEMS_CLEAR(p);
|
EVRY_PLUGIN_ITEMS_CLEAR(p);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue