diff --git a/lib/notification/notificationcomponent.cpp b/lib/notification/notificationcomponent.cpp index 7db9919aa..50bb2baf6 100644 --- a/lib/notification/notificationcomponent.cpp +++ b/lib/notification/notificationcomponent.cpp @@ -181,6 +181,9 @@ void NotificationComponent::NotificationTimerHandler() ObjectLock olock(unstashedNotifications); for (Dictionary::Ptr unstashedNotification : unstashedNotifications) { + if (!unstashedNotification) + continue; + try { Log(LogNotice, "NotificationComponent") << "Attempting to send stashed notification '" << notificationName << "'.";