mirror of
https://github.com/cloudwu/skynet.git
synced 2026-07-25 04:33:05 +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
|
if self.__sock then
|
||||||
local so = self.__sock
|
local so = self.__sock
|
||||||
self.__sock = false
|
self.__sock = false
|
||||||
socket.close(so)
|
so:close()
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user