kill the running threads before disconnecting
This commit is contained in:
parent
c5b5cc4af1
commit
66c6c21ad8
@ -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…
x
Reference in New Issue
Block a user