lib/adhearsion/process.rb in adhearsion-2.2.1 vs lib/adhearsion/process.rb in adhearsion-2.3.0
- old
+ new
@@ -72,10 +72,10 @@
important_threads << Thread.new { stop_when_zero_calls }
end
def final_shutdown
Adhearsion.active_calls.each do |_, call|
- call.hangup!
+ call.hangup
end
# This should shut down any remaining threads. Once those threads have
# stopped, important_threads will be empty and the process will exit
# normally.