mirror of
https://github.com/NationalSecurityAgency/ghidra
synced 2024-10-04 01:15:18 +00:00
GP-0: Fix testActionCopyIntoNewProgramCaptureLive
This commit is contained in:
parent
40c700041d
commit
0a5f411023
|
@ -810,7 +810,13 @@ public class DebuggerCopyIntoProgramDialog extends DialogComponentProvider {
|
|||
throws Exception {
|
||||
synchronized (this) {
|
||||
monitor.checkCanceled();
|
||||
this.captureTask = recorder.captureProcessMemory(new AddressSet(range), monitor, false);
|
||||
CompletableFuture<NavigableMap<Address, byte[]>> recCapture =
|
||||
recorder.captureProcessMemory(new AddressSet(range), monitor, false);
|
||||
this.captureTask = recCapture.thenCompose(__ -> {
|
||||
return recorder.getTarget().getModel().flushEvents();
|
||||
}).thenCompose(__ -> {
|
||||
return recorder.flushTransactions();
|
||||
});
|
||||
}
|
||||
try {
|
||||
captureTask.get(); // Not a fan, but whatever.
|
||||
|
|
Loading…
Reference in a new issue