mirror of https://gitee.com/bigwinds/arangodb
Fix potential shutdown crash.
This commit is contained in:
parent
651d0e75c9
commit
1f6a4fd58d
|
@ -449,6 +449,10 @@ void ApplicationCluster::stop() {
|
|||
}
|
||||
}
|
||||
|
||||
while (_heartbeat->isRunning()) {
|
||||
usleep(50000);
|
||||
}
|
||||
|
||||
// ClusterComm::cleanup();
|
||||
AgencyComm::cleanup();
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue