projects
/
prosody.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
net.server_select: Close all connections when quitting (and not just stepping), match...
[prosody.git]
/
net
/
server_select.lua
diff --git
a/net/server_select.lua
b/net/server_select.lua
index 9c5225c6c1daddf5c7b6355b11c3c9d3cc06da83..87921df4badc579d21fa70b83cd92af02ac6f414 100644
(file)
--- 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