gmr / rabbitpy

A pure python, thread-safe, minimalistic and pythonic RabbitMQ client library
http://rabbitpy.readthedocs.org
BSD 3-Clause "New" or "Revised" License
243 stars 58 forks source link

Clear _wait_on_frame_interrupt in _interrupt_wait_on_frame() #67

Closed kmelnikov closed 9 years ago

kmelnikov commented 9 years ago

In _interrupt_wait_on_frame() the _wait_on_frame_interrupt Event was set not cleared.

It caused a infinite loop waiting for _wait_on_frame_interrupt be cleared. Happens when connection was lost for example.