1
0
Fork 0

Fix potential shutdown crash.

This commit is contained in:
Max Neunhoeffer 2016-03-23 14:07:09 +01:00
parent 651d0e75c9
commit 1f6a4fd58d
1 changed files with 4 additions and 0 deletions

View File

@ -449,6 +449,10 @@ void ApplicationCluster::stop() {
}
}
while (_heartbeat->isRunning()) {
usleep(50000);
}
// ClusterComm::cleanup();
AgencyComm::cleanup();
}