mirror of
https://github.com/NationalSecurityAgency/ghidra.git
synced 2024-11-10 06:02:09 +00:00
Merge remote-tracking branch 'origin/GP-0_Dan_testFixes-2024-09-05-1'
This commit is contained in:
commit
fd7694b0c3
@ -984,16 +984,20 @@ public class DebuggerTraceManagerServicePlugin extends Plugin
|
||||
navigationHistoryService.clear(trace.getProgramView());
|
||||
}
|
||||
synchronized (listenersByTrace) {
|
||||
trace.release(this);
|
||||
lastCoordsByTrace.remove(trace);
|
||||
trace.removeListener(listenersByTrace.remove(trace));
|
||||
//Msg.debug(this, "Remaining Consumers of " + trace + ": " + trace.getConsumerList());
|
||||
}
|
||||
if (current.getTrace() == trace) {
|
||||
activate(DebuggerCoordinates.NOWHERE, ActivationCause.ACTIVATE_DEFAULT);
|
||||
try {
|
||||
if (current.getTrace() == trace) {
|
||||
activate(DebuggerCoordinates.NOWHERE, ActivationCause.ACTIVATE_DEFAULT);
|
||||
}
|
||||
else {
|
||||
contextChanged();
|
||||
}
|
||||
}
|
||||
else {
|
||||
contextChanged();
|
||||
finally {
|
||||
trace.release(this);
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -655,7 +655,7 @@ public abstract class AbstractGhidraHeadedDebuggerTest
|
||||
|
||||
if (tb != null) {
|
||||
if (traceManager != null && traceManager.getOpenTraces().contains(tb.trace)) {
|
||||
traceManager.closeTrace(tb.trace);
|
||||
traceManager.closeTraceNoConfirm(tb.trace);
|
||||
}
|
||||
tb.close();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user