mirror of
https://github.com/NationalSecurityAgency/ghidra.git
synced 2026-09-28 17:11:11 -09:00
GP-0: Fix tests.
This commit is contained in:
@@ -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();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user