mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-07-03 23:25:26 +02:00
[fix] NPE on shutdown
This commit is contained in:
parent
3c59fa5265
commit
b8dad95d06
1 changed files with 1 additions and 1 deletions
|
@ -53,7 +53,7 @@ public class RSECorePlugin extends Plugin {
|
|||
* @return the persistence manager currently in use for RSE
|
||||
*/
|
||||
public static IRSEPersistenceManager getThePersistenceManager() {
|
||||
return getDefault().getPersistenceManager();
|
||||
return getDefault() != null ? getDefault().getPersistenceManager() : null;
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Add table
Reference in a new issue