summaryrefslogtreecommitdiff
path: root/storage/ndb/src/mgmsrv/main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'storage/ndb/src/mgmsrv/main.cpp')
-rw-r--r--storage/ndb/src/mgmsrv/main.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/storage/ndb/src/mgmsrv/main.cpp b/storage/ndb/src/mgmsrv/main.cpp
index 3335fdc827c..c7315c61ba1 100644
--- a/storage/ndb/src/mgmsrv/main.cpp
+++ b/storage/ndb/src/mgmsrv/main.cpp
@@ -353,7 +353,8 @@ int main(int argc, char** argv)
g_eventLogger.info("Shutting down server...");
glob.socketServer->stopServer();
- glob.socketServer->stopSessions();
+ glob.mgmObject->get_config_retriever()->disconnect();
+ glob.socketServer->stopSessions(true);
g_eventLogger.info("Shutdown complete");
return 0;
error_end: