Fix worker quitting prematurely

This commit is contained in:
croneter 2018-11-06 11:30:04 +01:00
parent 3414a0a688
commit 1b94e23386

View file

@ -202,9 +202,6 @@ class BackgroundWorker(object):
class NonstoppingBackgroundWorker(BackgroundWorker): class NonstoppingBackgroundWorker(BackgroundWorker):
def _queueLoop(self): def _queueLoop(self):
if self._queue.empty():
return
LOG.debug('(%s): Active', self.name) LOG.debug('(%s): Active', self.name)
while not self.aborted(): while not self.aborted():
try: try: