Stop monitors first when shutting down

As monitors aren't synchronized with the worker threads, they need to be
shut down first.
This commit is contained in:
Markus Mäkelä
2017-09-29 10:03:43 +03:00
parent 27d1be7f96
commit cd83aa40db

View File

@ -2076,6 +2076,9 @@ int main(int argc, char **argv)
ss_dassert(worker);
worker->run();
/*< Stop all the monitors */
monitorStopAll();
/** Stop administrative interface */
mxs_admin_shutdown();