2
0

Export Jobs list when finished.

This commit is contained in:
glax 2023-09-19 19:49:42 +02:00
parent c4d69c27a4
commit e31820eb00

View File

@ -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();
}
}
}