mirror of
https://github.com/overcuriousity/autopsy-flatpak.git
synced 2025-07-14 17:06:16 +00:00
Fix IngestTaskScheduler task cancellation
This commit is contained in:
parent
22b55802f8
commit
60bafc0c6d
@ -251,7 +251,6 @@ final class IngestTasksScheduler {
|
||||
this.removeTasksForJob(this.directoryTasks, jobId);
|
||||
this.removeTasksForJob(this.pendingFileTasks, jobId);
|
||||
this.removeTasksForJob(this.pendingDataSourceTasks, jobId);
|
||||
this.removeTasksForJob(this.tasksInProgress, jobId);
|
||||
this.shuffleFileTaskQueues();
|
||||
}
|
||||
|
||||
@ -465,6 +464,7 @@ final class IngestTasksScheduler {
|
||||
while (iterator.hasNext()) {
|
||||
IngestTask task = iterator.next();
|
||||
if (task.getIngestJob().getId() == jobId) {
|
||||
this.tasksInProgress.remove(task);
|
||||
iterator.remove();
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user