mirror of https://github.com/Icinga/icinga2.git
Fix crash in NotificationComponent::NotificationTimerHandler().
This commit is contained in:
parent
d4015fe218
commit
d245bbfc77
|
@ -77,6 +77,10 @@ void NotificationComponent::NotificationTimerHandler(void)
|
|||
continue;
|
||||
|
||||
Service::Ptr service = notification->GetService();
|
||||
|
||||
if (!service)
|
||||
continue;
|
||||
|
||||
bool reachable = service->IsReachable();
|
||||
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue