lib/bunny/session.rb in bunny-1.1.4 vs lib/bunny/session.rb in bunny-1.1.5
- old
+ new
@@ -293,15 +293,12 @@
close_all_channels
Bunny::Timeout.timeout(@transport.disconnect_timeout, ClientTimeout) do
self.close_connection(true)
end
-
- maybe_shutdown_reader_loop
- close_transport
end
- shut_down_all_consumer_work_pools!
+ clean_up_on_shutdown
@status = :closed
end
alias stop close
# Creates a temporary channel, yields it to the block given to this