mirror of https://gitee.com/bigwinds/arangodb
move stopping more down
This commit is contained in:
parent
73a7990a31
commit
01dad862a4
|
@ -110,10 +110,6 @@ void GeneralServer::stopListening() {
|
|||
}
|
||||
|
||||
void GeneralServer::stopWorking() {
|
||||
for (auto& context : _contexts) {
|
||||
context.stop();
|
||||
}
|
||||
|
||||
_listenTasks.clear();
|
||||
|
||||
while (true) {
|
||||
|
@ -132,6 +128,10 @@ void GeneralServer::stopWorking() {
|
|||
LOG_TOPIC("9b8ac", WARN, Logger::FIXME) << "- our friend is: " << it.first << " -> " << it.second.get();
|
||||
}
|
||||
}
|
||||
|
||||
for (auto& context : _contexts) {
|
||||
context.stop();
|
||||
}
|
||||
}
|
||||
|
||||
// -----------------------------------------------------------------------------
|
||||
|
|
Loading…
Reference in New Issue