mirror of
https://github.com/cloudwu/skynet.git
synced 2026-07-22 02:53:09 +00:00
ignore response, fix #841
This commit is contained in:
@@ -73,6 +73,8 @@ function chan:unsubscribe()
|
||||
end
|
||||
|
||||
local function dispatch_subscribe(channel, source, pack, msg, sz)
|
||||
-- channel as session, do need response
|
||||
skynet.ignoreret()
|
||||
local self = dispatch[channel]
|
||||
if not self then
|
||||
mc.close(pack)
|
||||
|
||||
Reference in New Issue
Block a user