mirror of
https://github.com/cloudwu/skynet.git
synced 2026-07-24 20:23:06 +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
|
s.connected = false
|
||||||
wakeup(s)
|
wakeup(s)
|
||||||
else
|
else
|
||||||
driver.shutdown(id)
|
driver.close(id)
|
||||||
end
|
end
|
||||||
local cb = socket_onclose[id]
|
local cb = socket_onclose[id]
|
||||||
if cb then
|
if cb then
|
||||||
|
|||||||
Reference in New Issue
Block a user