Closed TheCodeKing closed 7 years ago
Confirmed this issue with someone else too, looks like something is causing Node from closing. Looking into now.
@TheCodeKing thanks for reporting- to help us triage a bit better, can you share which version of keen-js you're running?
Sure sorry, should have mentioned. It's node version v7.9.0 with keen-js 4.0.1.
@TheCodeKing I tracked the issue down. If you're not using the deferEvent
queueing mechanism (assuming you're not) call client.queueInterval(0);
after instantiating the client. This will allow the process to exit properly.
This is a bug and cant be tracked here: https://github.com/keen/keen-tracking.js/issues/84
Great thanks for the workaround.
@TheCodeKing this fix has been released with v4.1.0 – thanks for helping triage this one! 🚀
In NodeJs it just hangs when using the library. e.g the following example returns success, but never exits.
npm i keen-js