Permalink
Browse files

Merge pull request #162 from richmans/master

Fix for problem on a server-initiated channel close
  • Loading branch information...
2 parents 3ec080d + 5ce0220 commit 104eaf100f910d3fe558430966fffb514be997c3 Michael Klishin committed Jan 29, 2013
Showing with 1 addition and 0 deletions.
  1. +1 −0 lib/amqp/channel.rb
View
@@ -1120,6 +1120,7 @@ def handle_close(method)
super(method)
self.class.error(method.reply_text)
+ self.class.release_channel_id(@id)
end
# Overrides AMQ::Client::Channel version to also release the channel id

0 comments on commit 104eaf1

Please sign in to comment.