From 7d75553bdf646b4c7f865f443ef8232fd3ac0743 Mon Sep 17 00:00:00 2001 From: Valere Date: Wed, 3 Jan 2024 16:46:54 +0100 Subject: [PATCH] fix secretStorageBeingAccessed --- src/SecurityManager.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/SecurityManager.ts b/src/SecurityManager.ts index 58a381aeceb..87e203a323b 100644 --- a/src/SecurityManager.ts +++ b/src/SecurityManager.ts @@ -414,6 +414,8 @@ export async function accessSecretStorage(func = async (): Promise => {}, logger.error(e); // Re-throw so that higher level logic can abort as needed throw e; + } finally { + secretStorageBeingAccessed = false; } }