Fix Check for subjobs
This commit is contained in:
parent
23cda74487
commit
306cb87d67
@ -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);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user