1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-18 17:23:37 +00:00

Guard Background Only and MV2 Only Actions (#8773)

This commit is contained in:
Justin Baur
2024-04-17 09:13:05 -05:00
committed by GitHub
parent a72b7f3d21
commit 0c557c6ab8
2 changed files with 104 additions and 104 deletions

View File

@@ -120,7 +120,7 @@ const mainBackground: MainBackground = needsBackgroundInit
: BrowserApi.getBackgroundPage().bitwardenMain;
function createLocalBgService() {
const localBgService = new MainBackground(isPrivateMode);
const localBgService = new MainBackground(isPrivateMode, true);
// FIXME: Verify that this floating promise is intentional. If it is, add an explanatory comment and ensure there is proper error handling.
// eslint-disable-next-line @typescript-eslint/no-floating-promises
localBgService.bootstrap();