mirror of
https://github.com/overcuriousity/autopsy-flatpak.git
synced 2025-07-15 01:07:42 +00:00
don't bother rolling back timeline updates if the task is cancelled, just don't recorddb population state updates.
This commit is contained in:
parent
a8613e6aa1
commit
7f9e8e406d
@ -505,12 +505,11 @@ public class EventsRepository {
|
|||||||
LOGGER.log(Level.INFO, "committing db"); // NON-NLS
|
LOGGER.log(Level.INFO, "committing db"); // NON-NLS
|
||||||
Platform.runLater(() -> cancellable.set(false));
|
Platform.runLater(() -> cancellable.set(false));
|
||||||
restartProgressHandle(Bundle.progressWindow_msg_commitingDb(), "", -1D, 1, false);
|
restartProgressHandle(Bundle.progressWindow_msg_commitingDb(), "", -1D, 1, false);
|
||||||
if (isCancelRequested()) {
|
|
||||||
eventDB.rollBackTransaction(trans);
|
|
||||||
} else {
|
|
||||||
eventDB.commitTransaction(trans);
|
eventDB.commitTransaction(trans);
|
||||||
|
if (isCancelRequested() == false) {
|
||||||
recordDBPopulationState(lastObjId, lastArtfID, injestRunning);
|
recordDBPopulationState(lastObjId, lastArtfID, injestRunning);
|
||||||
}
|
}
|
||||||
|
|
||||||
eventDB.analyze();
|
eventDB.analyze();
|
||||||
populateFilterData(skCase);
|
populateFilterData(skCase);
|
||||||
invalidateCaches();
|
invalidateCaches();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user