1
0
mirror of https://github.com/bitwarden/browser.git synced 2024-11-28 12:45:45 +01:00

Close proxy application when stdin is closed (#1024)

This commit is contained in:
Oscar Hinton 2021-08-17 14:01:31 +02:00 committed by GitHub
parent 99b8be81f6
commit 3cbb336416
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -89,5 +89,9 @@ export default class NativeMessage {
console.error(e);
}
});
process.stdin.on('end', () => {
process.exit(0);
});
}
}