e918a86028
All event handlers which call disconnect() MUST be registered using `add_event_handler(..., threaded=True)` in order to prevent temporarily deadlocking until a timeout occurs. This is required because disconnect() waits for the main threads to exit before returning, including the event processing thread. Since handlers registered without `threaded=True` run in the event processing thread, the disconnect() call will deadlock. |
||
---|---|---|
.. | ||
handler | ||
matcher | ||
__init__.py | ||
filesocket.py | ||
jid.py | ||
resolver.py | ||
scheduler.py | ||
stanzabase.py | ||
test.py | ||
test.xml | ||
testclient.py | ||
tostring.py | ||
xmlstream.py |