mirror of
https://github.com/NationalSecurityAgency/ghidra.git
synced 2024-11-22 04:05:39 +00:00
Merge remote-tracking branch 'origin/GP-0_Dan_testFixes-2024-09-05-1'
This commit is contained in:
commit
fd7694b0c3
@ -984,11 +984,11 @@ 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());
|
||||
}
|
||||
try {
|
||||
if (current.getTrace() == trace) {
|
||||
activate(DebuggerCoordinates.NOWHERE, ActivationCause.ACTIVATE_DEFAULT);
|
||||
}
|
||||
@ -996,6 +996,10 @@ public class DebuggerTraceManagerServicePlugin extends Plugin
|
||||
contextChanged();
|
||||
}
|
||||
}
|
||||
finally {
|
||||
trace.release(this);
|
||||
}
|
||||
}
|
||||
|
||||
protected void doCloseTraces(Collection<Trace> traces, Collection<Target> targets) {
|
||||
for (Trace t : traces) {
|
||||
|
@ -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