lib/bunny/session.rb in bunny-1.6.0 vs lib/bunny/session.rb in bunny-1.6.1
- old
+ new
@@ -492,9 +492,10 @@
@transport.send_frame(AMQ::Protocol::Channel::Close.encode(n, 200, "Goodbye", 0, 0))
@last_channel_close_ok = wait_on_continuations
raise_if_continuation_resulted_in_a_connection_error!
self.unregister_channel(ch)
+ self.release_channel_id(ch.id)
@last_channel_close_ok
end
end
# @private