Open ssoroka opened 12 years ago
Not that I were maintaining xmpp4r anymore, but please check in what thread you're invoking that, and if it locked resources at this point.
So is this:
A) My fault for not using a thread or locking properly in my application code? B) xmpp4r's fault for locking when it doesn't need to? or C) A bug in Ruby 1.9.3? such as: http://bugs.ruby-lang.org/issues/4266
Even with the examples its getting the "deadlock detected" exception. It sounds like it is probably more B
My code that caused the deadlock is pretty much just:
Exception is:
Only happens in (some versions of?) Ruby 1.9.3, can't reproduce in Ruby 1.8.7.
Am I missing code to prevent deadlocks?