mirror of
https://github.com/Icinga/icinga2.git
synced 2025-07-31 01:24:19 +02:00
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 {
|
} else {
|
||||||
try {
|
try {
|
||||||
result = Main(m_Arguments);
|
result = Main(m_Arguments);
|
||||||
|
|
||||||
|
Application::m_Instance.reset();
|
||||||
} catch (const exception& ex) {
|
} catch (const exception& ex) {
|
||||||
Application::m_Instance.reset();
|
Application::m_Instance.reset();
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user