summaryrefslogtreecommitdiff
path: root/sleekxmpp/plugins/xep_0128/extended_disco.py
diff options
context:
space:
mode:
authorLance Stout <lancestout@gmail.com>2012-05-10 10:22:38 -0700
committerLance Stout <lancestout@gmail.com>2012-05-10 10:22:38 -0700
commite918a860281675fc19c2c09bcf120c883ac7575f (patch)
tree21cd318072293e854349a6660d4f4d68c09c10db /sleekxmpp/plugins/xep_0128/extended_disco.py
parent24234bf7182066d6c2ee827c8121b8daede56663 (diff)
downloadslixmpp-e918a860281675fc19c2c09bcf120c883ac7575f.tar.gz
slixmpp-e918a860281675fc19c2c09bcf120c883ac7575f.tar.bz2
slixmpp-e918a860281675fc19c2c09bcf120c883ac7575f.tar.xz
slixmpp-e918a860281675fc19c2c09bcf120c883ac7575f.zip
Make the error message better regarding hanged threads.
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.
Diffstat (limited to 'sleekxmpp/plugins/xep_0128/extended_disco.py')
0 files changed, 0 insertions, 0 deletions