mirror of
https://github.com/elisspace/autopsy.git
synced 2026-09-04 06:50:00 +00:00
Progress monitor and logging updates
This commit is contained in:
@@ -111,7 +111,8 @@ class AddArchiveTask implements Runnable {
|
||||
return;
|
||||
}
|
||||
|
||||
// extract contents of ZIP archive into destination folder
|
||||
// extract contents of ZIP archive into destination folder
|
||||
progressMonitor.setProgressText(String.format("Extracting archive contents to: %s", destinationFolder.toString()));
|
||||
List<String> extractedFiles = ArchiveUtil.unpackArchiveFile(archivePath, destinationFolder.toString());
|
||||
|
||||
// do processing
|
||||
|
||||
@@ -175,7 +175,7 @@ public class ArchiveExtractorDSProcessor implements DataSourceProcessor, AutoIng
|
||||
public void cancel() {
|
||||
if (null != jobProcessingTaskFuture) {
|
||||
jobProcessingTaskFuture.cancel(true);
|
||||
jobProcessingExecutor.shutdownNow();
|
||||
jobProcessingExecutor.shutdown();
|
||||
// ELTBD - do we want to wait for the cancellation to complete? I think not,
|
||||
// given that the cancelation is of "best effort" variety
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user