For cases of fatal errors on wl_display, return ECORE_CALLBACK_CANCEL

in the fd_handler and idler so we stop listening there.

Signed-off-by: Chris Michael <cp.michael@samsung.com>
This commit is contained in:
Chris Michael 2013-07-09 11:11:14 +01:00
parent 531be113be
commit b579df2f51
1 changed files with 4 additions and 0 deletions

View File

@ -431,6 +431,8 @@ err:
/* raise exit signal */
_ecore_wl_signal_exit();
return ECORE_CALLBACK_CANCEL;
}
return ECORE_CALLBACK_RENEW;
@ -467,6 +469,8 @@ _ecore_wl_cb_handle_data(void *data, Ecore_Fd_Handler *hdl)
/* raise exit signal */
_ecore_wl_signal_exit();
return ECORE_CALLBACK_CANCEL;
}
return ECORE_CALLBACK_RENEW;