# HG changeset patch
# User Matthew Wild <mwild1@gmail.com>
# Date 1451767340 0
# Node ID aff786e7b4ceea89be9fdf3fa57119541f007815
# Parent  bdcea2dd33b845898a61774ff8ca9edceddebeeb
net.server_select: Close all connections when quitting (and not just stepping), matches server_event

diff -r bdcea2dd33b8 -r aff786e7b4ce net/server_select.lua
--- a/net/server_select.lua	Sat Jan 02 20:40:34 2016 +0000
+++ b/net/server_select.lua	Sat Jan 02 20:42:20 2016 +0000
@@ -911,6 +911,7 @@
 		socket_sleep( _sleeptime )
 	until quitting;
 	if once and quitting == "once" then quitting = nil; return; end
+	closeall();
 	return "quitting"
 end