mirror of
https://github.com/NationalSecurityAgency/ghidra.git
synced 2025-10-03 17:59:46 +02:00
GP-0 corrected NPE regression in ProgramDB
This commit is contained in:
parent
0844ff6cca
commit
58c4489973
1 changed files with 1 additions and 1 deletions
|
@ -2373,7 +2373,7 @@ public class ProgramDB extends DomainObjectAdapterDB implements Program, ChangeM
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
protected void close() {
|
protected void close() {
|
||||||
if (changed && languageUpgradeTranslator != null) {
|
if (programUserData != null && changed && languageUpgradeTranslator != null) {
|
||||||
// Prevent user data from being saved if program and user data
|
// Prevent user data from being saved if program and user data
|
||||||
// have gone through a major language upgrade and the program
|
// have gone through a major language upgrade and the program
|
||||||
// was not saved.
|
// was not saved.
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue