mirror of
https://github.com/correl/SleekXMPP.git
synced 2024-12-30 03:00:19 +00:00
kill the running threads before disconnecting
This commit is contained in:
parent
c5b5cc4af1
commit
66c6c21ad8
1 changed files with 2 additions and 2 deletions
|
@ -338,9 +338,9 @@ class XMLStream(object):
|
|||
'''
|
||||
Disconnects and shuts down all event threads.
|
||||
'''
|
||||
self.disconnect()
|
||||
self.quit.set()
|
||||
self.run = False
|
||||
self.scheduler.run = False
|
||||
self.disconnect()
|
||||
|
||||
def incoming_filter(self, xmlobj):
|
||||
return xmlobj
|
||||
|
|
Loading…
Reference in a new issue