1
0
Fork 0
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:
Uwe Stieber 2007-03-24 18:08:21 +00:00
parent 3c59fa5265
commit b8dad95d06

View file

@ -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;
}
/**