mirror of
https://github.com/cloudwu/skynet.git
synced 2026-07-24 20:23:06 +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]
|
local self = dispatch[channel]
|
||||||
if not self then
|
if not self then
|
||||||
mc.close(pack)
|
mc.close(pack)
|
||||||
error ("Unknown channel " .. channel)
|
-- This channel may unsubscribe first, see #1141
|
||||||
|
return
|
||||||
end
|
end
|
||||||
|
|
||||||
if self.__subscribe then
|
if self.__subscribe then
|
||||||
|
|||||||
Reference in New Issue
Block a user