fix NPE on early shutdown
This commit is contained in:
@ -47,6 +47,7 @@ public class PeerManagerFacadeImpl implements PeerManagerFacade {
|
|||||||
public void shutdown() {
|
public void shutdown() {
|
||||||
_log.info("Shutting down the peer manager");
|
_log.info("Shutting down the peer manager");
|
||||||
_testJob.stopTesting();
|
_testJob.stopTesting();
|
||||||
|
if (_manager != null)
|
||||||
_manager.storeProfiles();
|
_manager.storeProfiles();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user