From: Matthew Wild Date: Sat, 2 Jan 2016 20:42:20 +0000 (+0000) Subject: net.server_select: Close all connections when quitting (and not just stepping), match... X-Git-Url: https://git.enpas.org/?a=commitdiff_plain;h=c522d5616e0a24d38061af7c0778248adb11e2a1;p=prosody.git net.server_select: Close all connections when quitting (and not just stepping), matches server_event --- 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