summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--ios/MullvadVPN/NotificationManager.swift3
1 files changed, 2 insertions, 1 deletions
diff --git a/ios/MullvadVPN/NotificationManager.swift b/ios/MullvadVPN/NotificationManager.swift
index d4791222b5..63468e70a3 100644
--- a/ios/MullvadVPN/NotificationManager.swift
+++ b/ios/MullvadVPN/NotificationManager.swift
@@ -30,8 +30,9 @@ class NotificationProvider {
}
func invalidate() {
- let executor = { () in
+ let executor = {
self.delegate?.notificationProviderDidInvalidate(self)
+ return
}
if Thread.isMainThread {