mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-07-09 10:05:24 +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
|
* @return the persistence manager currently in use for RSE
|
||||||
*/
|
*/
|
||||||
public static IRSEPersistenceManager getThePersistenceManager() {
|
public static IRSEPersistenceManager getThePersistenceManager() {
|
||||||
return getDefault().getPersistenceManager();
|
return getDefault() != null ? getDefault().getPersistenceManager() : null;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Add table
Reference in a new issue