From a6899a49cf1f935205fd339fb2af3c20d9f0a03b Mon Sep 17 00:00:00 2001 From: Max Goedjen Date: Wed, 16 Feb 2022 22:44:40 -0800 Subject: [PATCH] Specify immediate delivery --- .../Sources/SecureEnclaveSecretKit/SecureEnclaveStore.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Sources/Packages/Sources/SecureEnclaveSecretKit/SecureEnclaveStore.swift b/Sources/Packages/Sources/SecureEnclaveSecretKit/SecureEnclaveStore.swift index af6b364..ec00bcc 100644 --- a/Sources/Packages/Sources/SecureEnclaveSecretKit/SecureEnclaveStore.swift +++ b/Sources/Packages/Sources/SecureEnclaveSecretKit/SecureEnclaveStore.swift @@ -176,7 +176,7 @@ extension SecureEnclave.Store { secrets.removeAll() loadSecrets() if notify { - DistributedNotificationCenter.default().post(name: .secretStoreUpdated, object: nil) + DistributedNotificationCenter.default().postNotificationName(.secretStoreUpdated, object: nil, deliverImmediately: true) } }