Method: NetworkExecutive::Viewer#tune_out
- Defined in:
- app/models/network_executive/viewer.rb
#tune_out(event) ⇒ Object
42 43 44 45 46 47 48 49 50 |
# File 'app/models/network_executive/viewer.rb', line 42 def tune_out( event ) Rails.logger.debug "Tuning out of the #{channel} channel for #{ip} at #{Time.now}" channel.unsubscribe id heartbeat.cancel @stream = nil end |