kill the running threads before disconnecting

This commit is contained in:
Brian Beggs 2010-07-06 08:24:23 -04:00 committed by Tom Nichols
parent c5b5cc4af1
commit 66c6c21ad8

View file

@ -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