net.server_select: Close all connections when quitting (and not just stepping), match...
authorMatthew Wild <mwild1@gmail.com>
Sat, 2 Jan 2016 20:42:20 +0000 (20:42 +0000)
committerMatthew Wild <mwild1@gmail.com>
Sat, 2 Jan 2016 20:42:20 +0000 (20:42 +0000)
net/server_select.lua

index 9c5225c6c1daddf5c7b6355b11c3c9d3cc06da83..87921df4badc579d21fa70b83cd92af02ac6f414 100644 (file)
@@ -911,6 +911,7 @@ loop = function(once) -- this is the main loop of the program
                socket_sleep( _sleeptime )
        until quitting;
        if once and quitting == "once" then quitting = nil; return; end
+       closeall();
        return "quitting"
 end