projects
/
platform
/
upstream
/
enlightenment.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7a0aba7
)
all in comments.
author
Carsten Haitzler
<raster@rasterman.com>
Tue, 4 Oct 2011 11:38:52 +0000
(11:38 +0000)
committer
Carsten Haitzler
<raster@rasterman.com>
Tue, 4 Oct 2011 11:38:52 +0000
(11:38 +0000)
SVN revision: 63805
src/bin/e_fm_op.c
patch
|
blob
|
history
diff --git
a/src/bin/e_fm_op.c
b/src/bin/e_fm_op.c
index
f1163d8
..
debfb47
100644
(file)
--- a/
src/bin/e_fm_op.c
+++ b/
src/bin/e_fm_op.c
@@
-674,6
+674,14
@@
_e_fm_op_work_idler(void *data __UNUSED__)
if ((!_e_fm_op_scan_idler_p) && (!_e_fm_op_work_error) &&
(!_e_fm_op_scan_error))
ecore_main_loop_quit();
+ // if
+ // _e_fm_op_scan_idler_p == NULL &&
+ // _e_fm_op_work_error == NULL &&
+ // _e_fm_op_scan_error == 1
+ // we can spin forever. why are we spinning at all? there are no
+ // tasks to be done. we have an error. wait for it to be handled
+ if (!_e_fm_op_work_queue)
+ ecore_main_loop_quit();
return ECORE_CALLBACK_RENEW;
}