1
0
Fork 0
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:
Lachlan Sylvester 2015-08-10 16:50:52 +10:00
parent edbef56c1f
commit 8fcdfc31c8

View file

@ -88,7 +88,7 @@ module ActionCable
streams.each do |broadcasting, callback|
pubsub.unsubscribe_proc broadcasting, callback
logger.info "#{self.class.name} stopped streaming from #{broadcasting}"
end
end.clear
end
private