mirror of
https://github.com/cloudwu/skynet.git
synced 2026-07-22 02:53:09 +00:00
close may be better than shutdown
This commit is contained in:
@@ -122,7 +122,7 @@ socket_message[3] = function(id)
|
||||
s.connected = false
|
||||
wakeup(s)
|
||||
else
|
||||
driver.shutdown(id)
|
||||
driver.close(id)
|
||||
end
|
||||
local cb = socket_onclose[id]
|
||||
if cb then
|
||||
|
||||
Reference in New Issue
Block a user