mirror of
https://github.com/NationalSecurityAgency/ghidra.git
synced 2025-10-04 18:29:37 +02:00
GP-3213: Prevent trace.undo where it might cause inconsistencies.
This commit is contained in:
parent
8aa9c8be3a
commit
c0835bf903
3 changed files with 11 additions and 3 deletions
|
@ -175,6 +175,7 @@ public class DBTrace extends DBCachedDomainObjectAdapter implements Trace, Trace
|
|||
e.unwrap(LanguageNotFoundException.class);
|
||||
throw new AssertionError(e);
|
||||
}
|
||||
clearUndo(false);
|
||||
changeSet = traceChangeSet = new DBTraceChangeSet();
|
||||
recordChanges = true;
|
||||
|
||||
|
@ -194,6 +195,7 @@ public class DBTrace extends DBCachedDomainObjectAdapter implements Trace, Trace
|
|||
e.unwrap(LanguageNotFoundException.class);
|
||||
throw new AssertionError(e);
|
||||
}
|
||||
clearUndo(false);
|
||||
changeSet = traceChangeSet = new DBTraceChangeSet();
|
||||
recordChanges = true;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue