ignore response, fix #841

This commit is contained in:
Cloud Wu
2018-05-28 20:36:33 +08:00
parent e8e38f1682
commit 2990fbc7cf

View File

@@ -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)