From 1eb8d252ea82a641caaf4996d1a9c31f62db83a2 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(+) (limited to 'net') 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