From d69c6879fa7b52b93ecd163a13cfa2cc47b00604 Mon Sep 17 00:00:00 2001 From: "Alexander A. Klimov" Date: Thu, 3 Sep 2020 14:04:42 +0200 Subject: [PATCH] Application#RunEventLoop(): don't wait for the thread pool to stop on shutdown refs #8173 --- lib/base/application.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/lib/base/application.cpp b/lib/base/application.cpp index 9ef9839a1..2339250ec 100644 --- a/lib/base/application.cpp +++ b/lib/base/application.cpp @@ -342,7 +342,9 @@ void Application::RunEventLoop() ConfigObject::StopObjects(); Application::GetInstance()->OnShutdown(); - UninitializeBase(); +#ifdef I2_DEBUG + UninitializeBase(); // Inspired from Exit() +#endif /* I2_DEBUG */ } bool Application::IsShuttingDown()