projects
/
prosody.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8fdfaec
)
net.server_select: Close all connections when quitting (and not just stepping), match...
author
Matthew Wild
<mwild1@gmail.com>
Sat, 2 Jan 2016 20:42:20 +0000
(20:42 +0000)
committer
Matthew Wild
<mwild1@gmail.com>
Sat, 2 Jan 2016 20:42:20 +0000
(20:42 +0000)
net/server_select.lua
patch
|
blob
|
history
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