1
0
Fork 0

Fix ClusterComm cleanup (jwt was used in agencyComm)

This commit is contained in:
Andreas Streichardt 2016-10-19 16:34:50 +02:00
parent 954e02ef24
commit 76ec1fdda8
1 changed files with 2 additions and 3 deletions

View File

@ -488,9 +488,8 @@ void ClusterFeature::unprepare() {
} }
} }
ClusterComm::cleanup();
if (!_enableCluster) { if (!_enableCluster) {
ClusterComm::cleanup();
return; return;
} }
@ -527,8 +526,8 @@ void ClusterFeature::unprepare() {
usleep(50000); usleep(50000);
} }
// ClusterComm::cleanup();
AgencyComm::cleanup(); AgencyComm::cleanup();
ClusterComm::cleanup();
} }
void ClusterFeature::setUnregisterOnShutdown(bool unregisterOnShutdown) { void ClusterFeature::setUnregisterOnShutdown(bool unregisterOnShutdown) {