fix(api): finished job notification should not block worker
This commit is contained in:
parent
cfc20d3133
commit
edc55ae8b4
|
@ -66,7 +66,7 @@ class WorkerContext:
|
|||
self.progress.put((self.job, self.device.device, progress), block=False)
|
||||
|
||||
def set_finished(self) -> None:
|
||||
self.finished.put((self.job, self.device.device))
|
||||
self.finished.put((self.job, self.device.device), block=False)
|
||||
|
||||
def clear_flags(self) -> None:
|
||||
self.set_cancel(False)
|
||||
|
|
Loading…
Reference in New Issue