mirror of
https://github.com/NationalSecurityAgency/ghidra.git
synced 2026-05-22 02:31:57 +08:00
Merge remote-tracking branch 'origin/GP-5394_Dan_fixWatchDeref' into patch
This commit is contained in:
+8
-1
@@ -133,7 +133,14 @@ public class DefaultWatchRow implements WatchRow {
|
||||
}
|
||||
// Do not accidentally hang the Swing thread on evaluation
|
||||
WatchValue fullValue = compiled.evaluate(executor);
|
||||
byte[] prevValue = prevExec == null ? null : compiled.evaluate(prevExec);
|
||||
byte[] prevValue;
|
||||
try {
|
||||
prevValue = prevExec == null ? null : compiled.evaluate(prevExec);
|
||||
}
|
||||
catch (Exception e) {
|
||||
Msg.trace(this, "Error in evaluating previous value. Ignoring.", e);
|
||||
prevValue = null;
|
||||
}
|
||||
synchronized (lock) {
|
||||
if (executor != provider.asyncWatchExecutor) {
|
||||
return;
|
||||
|
||||
Reference in New Issue
Block a user