mirror of
https://github.com/overcuriousity/autopsy-flatpak.git
synced 2025-07-15 09:17:42 +00:00
HashDB panel reverts only if ingest is not running. Prevents bug that closes DB while still in use.
This commit is contained in:
parent
6ab5fef8f8
commit
46f8fd99fd
@ -269,7 +269,13 @@ public final class HashLookupSettingsPanel extends IngestModuleGlobalSettingsPan
|
|||||||
}
|
}
|
||||||
|
|
||||||
public void cancel() {
|
public void cancel() {
|
||||||
HashDbManager.getInstance().loadLastSavedConfiguration();
|
/* Revert back to last settings only if the user could have
|
||||||
|
* made changes. Doing this while ingest is running causes
|
||||||
|
* hash dbs to be closed while they are still being used.
|
||||||
|
*/
|
||||||
|
if (IngestManager.getInstance().isIngestRunning() == false) {
|
||||||
|
HashDbManager.getInstance().loadLastSavedConfiguration();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
void removeThese(List<HashDb> toRemove) {
|
void removeThese(List<HashDb> toRemove) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user