Commits

Ned Batchelder committed e539a2e

Background threads should know their place. Thanks, Aron

Comments (0)

Files changed (1)

     class HarvesterThread(threading.Thread):
         def __init__(self, username, password, original):
             threading.Thread.__init__(self)
+            self.daemon = True
             self.harvester = TabbloHarvester(username, password, original, log_to_queue)
 
         def run(self):
     def __init__(self, initial, andthen):
         """Delay for `initial`, then every `andthen` secs.  If we haven't been polled, die."""
         threading.Thread.__init__(self)
+        self.daemon = True
         self.delay = initial
         self.andthen = andthen