mirror of
https://github.com/overcuriousity/autopsy-flatpak.git
synced 2025-07-15 01:07:42 +00:00
Fix bug in ingest pipelines code
This commit is contained in:
parent
4c8b967773
commit
ad886ad736
@ -660,13 +660,13 @@ final class DataSourceIngestJob {
|
||||
FileIngestPipeline pipeline = this.fileIngestPipelinesQueue.take();
|
||||
if (!pipeline.isEmpty()) {
|
||||
AbstractFile file = task.getFile();
|
||||
++this.processedFiles; // RJCTODO: This was previously inside the lock
|
||||
|
||||
if (this.runInteractively) {
|
||||
/**
|
||||
* Update the file ingest progress bar.
|
||||
*/
|
||||
synchronized (this.fileIngestProgressLock) {
|
||||
synchronized (this.fileIngestProgressLock) {
|
||||
++this.processedFiles;
|
||||
if (this.runInteractively) {
|
||||
/**
|
||||
* Update the file ingest progress bar.
|
||||
*/
|
||||
if (this.processedFiles <= this.estimatedFilesToProcess) {
|
||||
this.fileIngestProgress.progress(file.getName(), (int) this.processedFiles);
|
||||
} else {
|
||||
|
Loading…
x
Reference in New Issue
Block a user