Skip to content

Commit

Permalink
changes in thread stop
Browse files Browse the repository at this point in the history
  • Loading branch information
Nic0 committed Dec 7, 2011
1 parent a4f5d0f commit f73a6c7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions src/tyrs/interface.py
Expand Up @@ -57,6 +57,7 @@ def main_loop (self):
update = UpdateThread()
update.start()
self.loop.run()
update._Thread__stop()
update.stop()

def reply(self):
Expand Down
2 changes: 1 addition & 1 deletion src/tyrs/update.py
Expand Up @@ -40,7 +40,7 @@ def run(self):
return
self.start_new_thread()
logging.info('Thread stoped')
self.stop()
self._Thread__stop()

def stop(self):
self._stopevent.set()
Expand Down

0 comments on commit f73a6c7

Please sign in to comment.