From c522d5616e0a24d38061af7c0778248adb11e2a1 Mon Sep 17 00:00:00 2001 From: Matthew Wild Date: Sat, 2 Jan 2016 20:42:20 +0000 Subject: [PATCH] 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 -- 2.30.2