mirror of
https://github.com/cloudwu/skynet.git
synced 2026-07-22 02:53:09 +00:00
Check address changes before raise error, fix #1273
This commit is contained in:
@@ -60,10 +60,10 @@ local function open_channel(t, key)
|
||||
for _, co in ipairs(ct) do
|
||||
skynet.wakeup(co)
|
||||
end
|
||||
assert(succ, err)
|
||||
if node_address[key] ~= address then
|
||||
return open_channel(t,key)
|
||||
end
|
||||
assert(succ, err)
|
||||
return c
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user