mirror of
https://github.com/cloudwu/skynet.git
synced 2026-07-25 04:33:05 +00:00
bugfix: socket channel reconnect
This commit is contained in:
@@ -9,9 +9,7 @@ local redis = {}
|
||||
local command = {}
|
||||
local meta = {
|
||||
__index = command,
|
||||
__gc = function(self)
|
||||
self[1]:close()
|
||||
end,
|
||||
-- DO NOT close channel in __gc
|
||||
}
|
||||
|
||||
---------- redis response
|
||||
|
||||
Reference in New Issue
Block a user