Do not quit if we're waiting for an error response.

SVN revision: 36251
This commit is contained in:
ptomaine 2008-09-25 12:52:25 +00:00 committed by ptomaine
parent 091cc41f88
commit 4a68e74291
1 changed files with 3 additions and 3 deletions

View File

@ -604,7 +604,7 @@ _e_fm_op_work_idler(void *data)
return 1;
}
if (_e_fm_op_scan_idler_p == NULL)
if (_e_fm_op_scan_idler_p == NULL && !_e_fm_op_work_error && !_e_fm_op_scan_error)
{
ecore_main_loop_quit();
}
@ -677,6 +677,8 @@ _e_fm_op_scan_idler(void *data)
return 0;
}
if (_e_fm_op_idler_handle_error(&_e_fm_op_scan_error, &_e_fm_op_scan_queue, &node, task)) return 1;
if (_e_fm_op_abort)
{
/* We're marked for abortion. */
@ -684,8 +686,6 @@ _e_fm_op_scan_idler(void *data)
return 0;
}
if (_e_fm_op_idler_handle_error(&_e_fm_op_scan_error, &_e_fm_op_scan_queue, &node, task)) return 1;
if (task->type == E_FM_OP_COPY_STAT_INFO)
{
_e_fm_op_scan_atom(task);