Skip to content
Browse files

make PeriodicTask a deamon thread

  • Loading branch information...
1 parent f7520e6 commit ae17368a47c85a29276445305bbdd9b1422da275 @cyberdelia committed Oct 23, 2012
Showing with 1 addition and 0 deletions.
  1. +1 −0 metrology/utils/periodic.py
View
1 metrology/utils/periodic.py
@@ -7,6 +7,7 @@ def __init__(self, interval=5., target=None):
self.status = Event()
self.interval = interval
self.target = target
+ self.daemon = True
def stop(self):
self.status.set()

0 comments on commit ae17368

Please sign in to comment.
Something went wrong with that request. Please try again.