From 43122ea49644bf051cfefce881b682ae48d082d6 Mon Sep 17 00:00:00 2001 From: David Walter Seikel Date: Mon, 21 Apr 2014 20:42:15 +1000 Subject: Don't quit the LuaSL_test UI when the server goes away, if told to run the UI. --- LuaSL/src/LuaSL_test.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/LuaSL/src/LuaSL_test.c b/LuaSL/src/LuaSL_test.c index 74236cf..a02c6c3 100644 --- a/LuaSL/src/LuaSL_test.c +++ b/LuaSL/src/LuaSL_test.c @@ -292,7 +292,8 @@ static Eina_Bool _del(void *data, int type __UNUSED__, Ecore_Con_Event_Server_De { ourGlobals->server = NULL; ecore_con_server_del(ev->server); - ecore_main_loop_quit(); + if (!ourGlobals->ui) + ecore_main_loop_quit(); } return ECORE_CALLBACK_RENEW; -- cgit v1.1