fix NPE on early shutdown

This commit is contained in:
zzz
2008-12-02 16:28:29 +00:00
parent 3fc698c7d3
commit 8c9ac941bf

View File

@ -47,6 +47,7 @@ public class PeerManagerFacadeImpl implements PeerManagerFacade {
public void shutdown() {
_log.info("Shutting down the peer manager");
_testJob.stopTesting();
if (_manager != null)
_manager.storeProfiles();
}