mirror of
https://github.com/cloudwu/skynet.git
synced 2026-07-22 02:53:09 +00:00
fix #1141
This commit is contained in:
@@ -71,7 +71,8 @@ local function dispatch_subscribe(channel, source, pack, msg, sz)
|
||||
local self = dispatch[channel]
|
||||
if not self then
|
||||
mc.close(pack)
|
||||
error ("Unknown channel " .. channel)
|
||||
-- This channel may unsubscribe first, see #1141
|
||||
return
|
||||
end
|
||||
|
||||
if self.__subscribe then
|
||||
|
||||
Reference in New Issue
Block a user