Fix worker quitting prematurely
This commit is contained in:
parent
3414a0a688
commit
1b94e23386
1 changed files with 0 additions and 3 deletions
|
@ -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:
|
||||||
|
|
Loading…
Reference in a new issue