Skip to content

Commit

Permalink
fix #1141
Browse files Browse the repository at this point in the history
  • Loading branch information
cloudwu committed Dec 30, 2019
1 parent 672bdcf commit d3a6b8d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lualib/skynet/multicast.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit d3a6b8d

Please sign in to comment.