2
0

Fix Check for subjobs

This commit is contained in:
glax 2023-09-20 21:34:04 +02:00
parent 23cda74487
commit 306cb87d67

View File

@ -55,7 +55,7 @@ public class JobBoss : GlobalBase
Log($"Removing {job}");
job.Cancel();
this.jobs.Remove(job);
if(job.subJobs is not null)
if(job.subJobs is not null && job.subJobs.Any())
RemoveJobs(job.subJobs);
ExportJob(job);
}