GP-3717 store analysis task times only if unsaved changes exist

This commit is contained in:
ghidra1 2023-08-07 12:13:00 -04:00
parent 4fbb7bf45a
commit 6866d3ead7

View File

@ -1319,6 +1319,10 @@ public class AutoAnalysisManager implements DomainObjectListener, DomainObjectCl
return;
}
if (!p.isChanged()) {
return; // avoid storing task times if no other unsaved change exists
}
StoredAnalyzerTimes times = StoredAnalyzerTimes.getStoredAnalyzerTimes(program);
String taskNames[] = getTimedTasks();