diff options
author | Matthew Wild <mwild1@gmail.com> | 2016-01-02 20:42:20 +0000 |
---|---|---|
committer | Matthew Wild <mwild1@gmail.com> | 2016-01-02 20:42:20 +0000 |
commit | 1eb8d252ea82a641caaf4996d1a9c31f62db83a2 (patch) | |
tree | d4eff75c62859178f13669343ed0dc9047ee0750 /net/server_select.lua | |
parent | 581d2c49579973ed043c5435332ac552d07738cb (diff) | |
download | prosody-1eb8d252ea82a641caaf4996d1a9c31f62db83a2.tar.gz prosody-1eb8d252ea82a641caaf4996d1a9c31f62db83a2.zip |
net.server_select: Close all connections when quitting (and not just stepping), matches server_event
Diffstat (limited to 'net/server_select.lua')
-rw-r--r-- | net/server_select.lua | 1 |
1 files changed, 1 insertions, 0 deletions
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 |