mirror of
https://github.com/overcuriousity/autopsy-flatpak.git
synced 2025-07-17 18:17:43 +00:00
Added null cehck to IngestScheduler.FileIngestScheduler
This commit is contained in:
parent
bd6f90c895
commit
8ce3af30e2
@ -224,8 +224,10 @@ final class IngestScheduler {
|
||||
|
||||
synchronized FileIngestTask getNextTask() {
|
||||
final FileIngestTask task = fileTasks.pollLast();
|
||||
filesDequeued++;
|
||||
updateQueues();
|
||||
if (task != null) {
|
||||
filesDequeued++;
|
||||
updateQueues();
|
||||
}
|
||||
return task;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user