1
0
Fork 0

fix(api): finished job notification should not block worker

This commit is contained in:
Sean Sube 2023-03-05 19:53:44 -06:00
parent cfc20d3133
commit edc55ae8b4
Signed by: ssube
GPG Key ID: 3EED7B957D362AF1
1 changed files with 1 additions and 1 deletions

View File

@ -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)