mirror of
https://github.com/overcuriousity/autopsy-flatpak.git
synced 2025-07-14 17:06:16 +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
|
||||
Platform.runLater(() -> cancellable.set(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);
|
||||
}
|
||||
|
||||
eventDB.analyze();
|
||||
populateFilterData(skCase);
|
||||
invalidateCaches();
|
||||
|
Loading…
x
Reference in New Issue
Block a user