1
0
mirror of https://github.com/bitwarden/desktop.git synced 2024-06-25 10:26:00 +02: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);
});
}
}