Fix crashes during shutdown due to uninitialized 'AdminHTTPServer'

pull/4546/head
Javier Jaramago Fernández 2 years ago
parent f8fb6fda75
commit f962d13148

@ -6389,6 +6389,8 @@ bool ProxySQL_Admin::init(const bootstrap_info_t& bootstrap_info) {
Admin_HTTP_Server = NULL;
AdminRestApiServer = NULL;
AdminHTTPServer = NULL;
/*
AdminRestApiServer = new ProxySQL_RESTAPI_Server();
AdminRestApiServer->print_version();

Loading…
Cancel
Save