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
1 changed files with 4 additions and 0 deletions

View File

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