node-java icon indicating copy to clipboard operation
node-java copied to clipboard

Process hangs on mainline and need ctrl^c, reverting to 0.12.1 tagged build fixes the issue

Open danielwsutton opened this issue 4 years ago • 3 comments

Process hangs on mainline, reverting to 0.12.1 tagged build fixes the issue

danielwsutton avatar Aug 20 '20 01:08 danielwsutton

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,

danielwsutton avatar Aug 20 '20 01:08 danielwsutton

I also need to go back to 0.12.1 in order to deal with that problem

matteolel avatar Nov 12 '21 14:11 matteolel

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);

Maxim-Mazurok avatar Apr 05 '22 13:04 Maxim-Mazurok