node-java
node-java copied to clipboard
Process hangs on mainline and need ctrl^c, reverting to 0.12.1 tagged build fixes the issue
Process hangs on mainline, reverting to 0.12.1 tagged build fixes the issue
I reverted mainline changes on my fork, and it seems to have fixed the issue,
https://github.com/danielwsutton/node-java/commit/511ff1af1977e50cf9925bf3a0b2175ebbb8815a
so somewhere between mainline and 0.12.1 caused this issue
If i have time i'll cherry pick each commit 1 by 1 to find the culprit,
I also need to go back to 0.12.1 in order to deal with that problem
The same problem on 0.12.2
, works on 0.12.1
Project with reproduction: https://github.com/Maxim-Mazurok/ez-vcard
To reproduce, follow instructions from example: https://github.com/Maxim-Mazurok/ez-vcard/tree/master/example and npm i [email protected]
Another workaround for me is to call process.exit(0)
manually once the operation is done, like so:
const vcard = await ezVcard(data, config);
console.log(vcard);
process.exit(0);