Fixed crash while shutting down Icinga.

This commit is contained in:
Gunnar Beutner 2012-07-12 15:50:31 +02:00
parent ace116c732
commit 746400afe5
1 changed files with 1 additions and 4 deletions

View File

@ -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;
}
/**