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.
|
Disconnects and shuts down all event threads.
|
||||||
'''
|
'''
|
||||||
self.disconnect()
|
self.run = False
|
||||||
self.quit.set()
|
|
||||||
self.scheduler.run = False
|
self.scheduler.run = False
|
||||||
|
self.disconnect()
|
||||||
|
|
||||||
def incoming_filter(self, xmlobj):
|
def incoming_filter(self, xmlobj):
|
||||||
return xmlobj
|
return xmlobj
|
||||||
|
Loading…
x
Reference in New Issue
Block a user