mirror of https://gitee.com/bigwinds/arangodb
fixed wrong order
This commit is contained in:
parent
9002783c5f
commit
bc503c19c7
|
@ -494,7 +494,9 @@ void ApplicationServer::start() {
|
|||
void ApplicationServer::stop() {
|
||||
LOG_TOPIC(TRACE, Logger::STARTUP) << "ApplicationServer::stop";
|
||||
|
||||
for (auto feature : _orderedFeatures) {
|
||||
for (auto it = _orderedFeatures.rbegin(); it != _orderedFeatures.rend(); ++it) {
|
||||
auto feature = *it;
|
||||
|
||||
LOG_TOPIC(TRACE, Logger::STARTUP) << feature->name() << "::stop";
|
||||
feature->stop();
|
||||
feature->state(FeatureState::STOPPED);
|
||||
|
|
Loading…
Reference in New Issue