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:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user