mirror of
https://github.com/overcuriousity/autopsy-flatpak.git
synced 2025-07-15 09:17: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();
|
FileIngestPipeline pipeline = this.fileIngestPipelinesQueue.take();
|
||||||
if (!pipeline.isEmpty()) {
|
if (!pipeline.isEmpty()) {
|
||||||
AbstractFile file = task.getFile();
|
AbstractFile file = task.getFile();
|
||||||
++this.processedFiles; // RJCTODO: This was previously inside the lock
|
|
||||||
|
|
||||||
if (this.runInteractively) {
|
synchronized (this.fileIngestProgressLock) {
|
||||||
/**
|
++this.processedFiles;
|
||||||
* Update the file ingest progress bar.
|
if (this.runInteractively) {
|
||||||
*/
|
/**
|
||||||
synchronized (this.fileIngestProgressLock) {
|
* Update the file ingest progress bar.
|
||||||
|
*/
|
||||||
if (this.processedFiles <= this.estimatedFilesToProcess) {
|
if (this.processedFiles <= this.estimatedFilesToProcess) {
|
||||||
this.fileIngestProgress.progress(file.getName(), (int) this.processedFiles);
|
this.fileIngestProgress.progress(file.getName(), (int) this.processedFiles);
|
||||||
} else {
|
} else {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user