1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-31 15:43:28 +00:00

Add explicit init to native messaging service (#1262)

This commit is contained in:
Oscar Hinton
2022-01-24 16:10:32 +01:00
committed by GitHub
parent ca41cdf8b5
commit 7d46e5c145
2 changed files with 7 additions and 2 deletions

View File

@@ -33,7 +33,9 @@ export class NativeMessagingService {
private messagingService: MessagingService,
private vaultTimeoutService: VaultTimeoutService,
private stateService: StateService
) {
) {}
init() {
ipcRenderer.on("nativeMessaging", async (_event: any, message: any) => {
this.messageHandler(message);
});