From e5691fed7972bf6c0d4e0e494f79850322b794c4 Mon Sep 17 00:00:00 2001 From: Matthew Wild Date: Sat, 2 Jan 2016 20:42:20 +0000 Subject: net.server_select: Close all connections when quitting (and not just stepping), matches server_event --- net/server_select.lua | 1 + 1 file changed, 1 insertion(+) diff --git a/net/server_select.lua b/net/server_select.lua index 9c5225c6..87921df4 100644 --- a/net/server_select.lua +++ b/net/server_select.lua @@ -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 -- cgit v1.2.3