git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/elementary@60725
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
if (!wd) return;
#ifdef HAVE_EIO
- eio_file_cancel(wd->current);
+ if (wd->current)
+ eio_file_cancel(wd->current);
#endif
wd->files_list = NULL;
if (eio_file_check(handler))
return ;
- if (!wr->wd->files_list || !wr->wd->files_grid) return ;
+ if (!wr->wd->files_list || !wr->wd->files_grid || wr->wd->current != handler)
+ {
+ eio_file_cancel(handler);
+ return ;
+ }
_signal_first(wr);