mirror of
https://github.com/NationalSecurityAgency/ghidra.git
synced 2025-10-04 10:19:23 +02:00
GP-5151 - Diff - Fixed exception when closing second program while diff
is running
This commit is contained in:
parent
7ec765c854
commit
498e98110a
1 changed files with 3 additions and 3 deletions
|
@ -197,7 +197,7 @@ class CreateDiffTask extends Task {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (plugin.getCurrentProgram() == null) {
|
if (plugin.getCurrentProgram() == null || plugin.getSecondProgram() == null) {
|
||||||
// the program was closed while this task was running
|
// the program was closed while this task was running
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue