[rabbitmq-discuss] IModel Dispose locks if called during ConnectionShutdown event

Emile Joubert emile at rabbitmq.com
Fri Sep 21 11:15:33 BST 2012


Hi Mark,

On 20/09/12 19:40, Mark Ward wrote:
> I may have found the area of the deadlock.
> 
> RabbitMQ.Util.BlockingCell
> 
> In the Value get on the Monitor.wait(this);

This question is similar to a previous one from Derek Greer which you
may want to take a look at:
http://markmail.org/message/3f64mebpams5icv5

The channel/IModel will be cleaned up by the library. There is no need
to do this from within the ConnectionShutdown event handler, and
attempting to do so will lead to the problems you describe.

(Btw, what is the framework you mentioned that is exhibiting this
behaviour?)

-Emile



More information about the rabbitmq-discuss mailing list