diff --git a/programs/local/LocalServer.cpp b/programs/local/LocalServer.cpp index daecd43bac6..4e0b9eeb731 100644 --- a/programs/local/LocalServer.cpp +++ b/programs/local/LocalServer.cpp @@ -294,7 +294,7 @@ void LocalServer::cleanup() /// We should reset it before resetting global_context. if (suggest) suggest.reset(); - + if (global_context) { global_context->shutdown();