mirror of https://gitee.com/bigwinds/arangodb
Fix ClusterComm cleanup (jwt was used in agencyComm)
This commit is contained in:
parent
954e02ef24
commit
76ec1fdda8
|
@ -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) {
|
||||||
|
|
Loading…
Reference in New Issue