diff --git a/apps/browser/src/background/nativeMessaging.background.ts b/apps/browser/src/background/nativeMessaging.background.ts index e1b7fdf4231..5ad4f8e630e 100644 --- a/apps/browser/src/background/nativeMessaging.background.ts +++ b/apps/browser/src/background/nativeMessaging.background.ts @@ -359,6 +359,12 @@ export class NativeMessagingBackground { cancelButtonText: null, type: "danger", }); + + // Exit early + if (this.resolver) { + this.resolver(message); + } + return; } // Verify key is correct by attempting to decrypt a secret