mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
Clear out the streams when they are stopped. Otherwise we will keep trying to stop them.
This commit is contained in:
parent
edbef56c1f
commit
8fcdfc31c8
1 changed files with 1 additions and 1 deletions
|
@ -88,7 +88,7 @@ module ActionCable
|
||||||
streams.each do |broadcasting, callback|
|
streams.each do |broadcasting, callback|
|
||||||
pubsub.unsubscribe_proc broadcasting, callback
|
pubsub.unsubscribe_proc broadcasting, callback
|
||||||
logger.info "#{self.class.name} stopped streaming from #{broadcasting}"
|
logger.info "#{self.class.name} stopped streaming from #{broadcasting}"
|
||||||
end
|
end.clear
|
||||||
end
|
end
|
||||||
|
|
||||||
private
|
private
|
||||||
|
|
Loading…
Reference in a new issue