From e31820eb004da001487b8489d1382ff6ad6ae2bc Mon Sep 17 00:00:00 2001 From: glax Date: Tue, 19 Sep 2023 19:49:42 +0200 Subject: [PATCH] Export Jobs list when finished. --- Tranga/Jobs/JobBoss.cs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Tranga/Jobs/JobBoss.cs b/Tranga/Jobs/JobBoss.cs index a54a023..d8a04a7 100644 --- a/Tranga/Jobs/JobBoss.cs +++ b/Tranga/Jobs/JobBoss.cs @@ -220,12 +220,15 @@ public class JobBoss : GlobalBase queueHead.progressToken.Complete(); break; } + queueHead.ResetProgress(); jobQueue.Dequeue(); + ExportJobsList(); }else if (queueHead.progressToken.state is ProgressToken.State.Standby) { Job[] subJobs = jobQueue.Peek().ExecuteReturnSubTasks().ToArray(); AddJobs(subJobs); AddJobsToQueue(subJobs); + ExportJobsList(); } } }