diff options
author | Lance Stout <lancestout@gmail.com> | 2012-04-29 14:45:00 -0700 |
---|---|---|
committer | Lance Stout <lancestout@gmail.com> | 2012-04-29 14:45:00 -0700 |
commit | 08716c35fd3c19921cdc87fdaaec7ddc56e88bb5 (patch) | |
tree | 6f22848f76149e5fc810249cc33d1b5701beccf2 /tests/test_stanza_presence.py | |
parent | fd81bab906a44393cad7e5ee66d2c2207859d404 (diff) | |
download | slixmpp-08716c35fd3c19921cdc87fdaaec7ddc56e88bb5.tar.gz slixmpp-08716c35fd3c19921cdc87fdaaec7ddc56e88bb5.tar.bz2 slixmpp-08716c35fd3c19921cdc87fdaaec7ddc56e88bb5.tar.xz slixmpp-08716c35fd3c19921cdc87fdaaec7ddc56e88bb5.zip |
Set a timeout when waiting for threads.
If calling disconnect() from a non-threaded event handler, deadlock can
happen as disconnect() is waiting for threads to close, but the event
runner is blocked by a handler waiting for disconnect() to return.
It is best to specify threaded=True for event handlers which may call
disconnect().
Diffstat (limited to 'tests/test_stanza_presence.py')
0 files changed, 0 insertions, 0 deletions