mirror of https://github.com/Icinga/icinga2.git
Fixed crash when shutting down Icinga.
This commit is contained in:
parent
a9610ecb9e
commit
a3cdcae7ce
|
@ -301,6 +301,8 @@ int Application::Run(int argc, char **argv)
|
|||
} else {
|
||||
try {
|
||||
result = Main(m_Arguments);
|
||||
|
||||
Application::m_Instance.reset();
|
||||
} catch (const exception& ex) {
|
||||
Application::m_Instance.reset();
|
||||
|
||||
|
|
Loading…
Reference in New Issue