mirror of
https://github.com/cloudwu/skynet.git
synced 2026-07-22 02:53:09 +00:00
bugfix: use so:close instead of socket.close
This commit is contained in:
@@ -105,7 +105,7 @@ function mongo_client:disconnect()
|
||||
if self.__sock then
|
||||
local so = self.__sock
|
||||
self.__sock = false
|
||||
socket.close(so)
|
||||
so:close()
|
||||
end
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user