1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-23 11:43:46 +00:00

Disconnect active connections when closing native messaging. Fix exe path on windows (#865)

This commit is contained in:
Oscar Hinton
2021-05-03 09:59:40 +02:00
committed by GitHub
parent 163fa2aa41
commit 20b8a83dd8
5 changed files with 28 additions and 14 deletions

View File

@@ -18,10 +18,7 @@ export default class IPC {
ipc.connectTo('bitwarden', () => {
ipc.of.bitwarden.on('connect', () => {
this.connected = true;
console.error(
'## connected to bitwarden desktop ##',
ipc.config.delay
);
console.error('## connected to bitwarden desktop ##');
// Notify browser extension, connection is established to desktop application.
this.onMessage({command: 'connected'});