mirror of
https://github.com/cloudwu/skynet.git
synced 2026-07-25 04:33:05 +00:00
Revert "srv may be a local name, see #1220"
This reverts commit 875b7683c6.
This commit is contained in:
@@ -91,8 +91,7 @@ local function _error_dispatch(error_session, error_source)
|
|||||||
end
|
end
|
||||||
end
|
end
|
||||||
for session, srv in pairs(watching_session) do
|
for session, srv in pairs(watching_session) do
|
||||||
if srv == error_source or
|
if srv == error_source then
|
||||||
(type(srv) == "string" and skynet.localname(srv) == error_source) then
|
|
||||||
tinsert(error_queue, session)
|
tinsert(error_queue, session)
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|||||||
Reference in New Issue
Block a user