forked from enlightenment/efl
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:
parent
531be113be
commit
b579df2f51
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue