Fix Check for subjobs
This commit is contained in:
parent
23cda74487
commit
306cb87d67
@ -55,7 +55,7 @@ public class JobBoss : GlobalBase
|
|||||||
Log($"Removing {job}");
|
Log($"Removing {job}");
|
||||||
job.Cancel();
|
job.Cancel();
|
||||||
this.jobs.Remove(job);
|
this.jobs.Remove(job);
|
||||||
if(job.subJobs is not null)
|
if(job.subJobs is not null && job.subJobs.Any())
|
||||||
RemoveJobs(job.subJobs);
|
RemoveJobs(job.subJobs);
|
||||||
ExportJob(job);
|
ExportJob(job);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user