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() {
|
synchronized FileIngestTask getNextTask() {
|
||||||
final FileIngestTask task = fileTasks.pollLast();
|
final FileIngestTask task = fileTasks.pollLast();
|
||||||
filesDequeued++;
|
if (task != null) {
|
||||||
updateQueues();
|
filesDequeued++;
|
||||||
|
updateQueues();
|
||||||
|
}
|
||||||
return task;
|
return task;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user