diff options
author | David Walter Seikel | 2014-05-14 15:55:30 +1000 |
---|---|---|
committer | David Walter Seikel | 2014-05-14 15:55:30 +1000 |
commit | b51dd348aeab57671178243fd0ed54bc68c5aa59 (patch) | |
tree | cf17115725385acffd29aa5c20927b3742ef0365 | |
parent | Don't use the new Lua state if it couldn't be allocated. (diff) | |
download | SledjHamr-b51dd348aeab57671178243fd0ed54bc68c5aa59.zip SledjHamr-b51dd348aeab57671178243fd0ed54bc68c5aa59.tar.gz SledjHamr-b51dd348aeab57671178243fd0ed54bc68c5aa59.tar.bz2 SledjHamr-b51dd348aeab57671178243fd0ed54bc68c5aa59.tar.xz |
More server clean up fixings.
-rw-r--r-- | src/love/love.c | 5 |
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 | { |