aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
-rw-r--r--src/love/love.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/love/love.c b/src/love/love.c
index 75d0e36..e965c35 100644
--- a/src/love/love.c
+++ b/src/love/love.c
@@ -435,7 +435,6 @@ static Eina_Bool _delClient(void *data, int type, Ecore_Con_Event_Client_Del *ev
435 if (ev->client) 435 if (ev->client)
436 { 436 {
437 Eina_List const *clients; 437 Eina_List const *clients;
438 ecore_con_client_del(ev->client);
439 438
440 // This is only really for testing, normally it just runs 24/7, or until told to. 439 // This is only really for testing, normally it just runs 24/7, or until told to.
441 clients = ecore_con_server_clients_get(ourGlobals->server); 440 clients = ecore_con_server_clients_get(ourGlobals->server);
@@ -615,8 +614,8 @@ sleep(2);
615 ecore_main_loop_begin(); 614 ecore_main_loop_begin();
616 PD("Fell out of the main loop"); 615 PD("Fell out of the main loop");
617 616
618 ecore_con_server_del(ourGlobals.server); 617 if (ourGlobals.server) ecore_con_server_del(ourGlobals.server);
619 ecore_con_server_del(ourGlobals.serverLuaSL); 618 if (ourGlobals.serverLuaSL) ecore_con_server_del(ourGlobals.serverLuaSL);
620 619
621 if (ourGlobals.ui) 620 if (ourGlobals.ui)
622 { 621 {