devilhorns pushed a commit to branch master.
commit b579df2f51868b8fd6102974e597b4d8e8bb764a
Author: Chris Michael <[email protected]>
Date: Tue Jul 9 11:11:14 2013 +0100
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 <[email protected]>
---
src/lib/ecore_wayland/ecore_wl.c | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/src/lib/ecore_wayland/ecore_wl.c b/src/lib/ecore_wayland/ecore_wl.c
index 9b12ecf..8d28947 100644
--- a/src/lib/ecore_wayland/ecore_wl.c
+++ b/src/lib/ecore_wayland/ecore_wl.c
@@ -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;
--
------------------------------------------------------------------------------
See everything from the browser to the database with AppDynamics
Get end-to-end visibility with application monitoring from AppDynamics
Isolate bottlenecks and diagnose root cause in seconds.
Start your free trial of AppDynamics Pro today!
http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.clktrk