From f43dea0d0d19a8b322752ef964adf26290b92006 Mon Sep 17 00:00:00 2001 From: Max Goedjen Date: Wed, 16 Feb 2022 22:50:48 -0800 Subject: [PATCH] Specify immediate delivery (#350) --- .../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) } }