Merge pull request #8370 from Icinga/bugfix/reload-hang-8173

Application#RunEventLoop(): don't wait for the thread pool to stop on shutdown
This commit is contained in:
Alexander Aleksandrovič Klimov 2020-10-14 18:11:23 +02:00 committed by GitHub
commit 72c67fc065
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 1 deletions

View File

@ -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()