Skip to content

Commit

Permalink
threads die with main thread (daemonized)
Browse files Browse the repository at this point in the history
  • Loading branch information
Ariel Barabas committed Feb 19, 2015
1 parent bc2bb8d commit 4193394
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/smart_agnc/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,7 @@ class LockingThread(threading.Thread):
def __init__(self, blocking, lock, **kwargs):
super(LockingThread, self).__init__(**kwargs)
self.blocking = blocking
self.daemon = True
self.lock = lock

def run(self):
Expand Down

0 comments on commit 4193394

Please sign in to comment.