mirror of
https://github.com/cloudwu/skynet.git
synced 2026-07-24 20:23:06 +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
|
||||
for session, srv in pairs(watching_session) do
|
||||
if srv == error_source or
|
||||
(type(srv) == "string" and skynet.localname(srv) == error_source) then
|
||||
if srv == error_source then
|
||||
tinsert(error_queue, session)
|
||||
end
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user