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