提交 b4dfc18d 编写于 作者: R Ryuta Kamizono 提交者: GitHub

Merge pull request #30702 from rmachielse/patch-1

ActionCable: use find method when unsubscribing
......@@ -43,7 +43,7 @@ def add(data)
def remove(data)
logger.info "Unsubscribing from channel: #{data['identifier']}"
remove_subscription subscriptions[data["identifier"]]
remove_subscription find(data)
end
def remove_subscription(subscription)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册