fix(job): clear latest_frame on pipeline failure

This commit is contained in:
jetson committed 2026-09-17 16:14:18 +07:00
1 parent f487b5cf03
commit 87c8da3961
1 file changed
+1
+1
View File
@@ -191,6 +191,7 @@ class JobQueue:
if job.status != JobStatus.CANCELLED:
job.status = JobStatus.FAILED
job.error = str(e)
job.latest_frame = None
finally:
with self._lock: