mirror of https://github.com/Icinga/icinga2.git
Fixed crash while shutting down Icinga.
This commit is contained in:
parent
ace116c732
commit
746400afe5
|
@ -81,10 +81,7 @@ Application::~Application(void)
|
|||
*/
|
||||
Application::Ptr Application::GetInstance(void)
|
||||
{
|
||||
if (m_ShuttingDown)
|
||||
return Application::Ptr();
|
||||
else
|
||||
return m_Instance;
|
||||
return m_Instance;
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in New Issue