Closed Circuit8 closed 2 years ago
Thanks for the catch! The next version avoids global setTimeout
and setInterval
now.
(this is such a dumb node footgun! if they wanted a different timer or interval implementation don't name-collide with a global function)
Awesome thanks alot. Yeah tell me about it, absolute madness!
I'm getting the following error intermittently while running exiftool-vendored v16.4.0, it didnt appear to be happening on v15.4.0.
this error is being thrown in
BatchCluster.js#462
, where the following code is being executed:I think the source line for this is here: https://github.com/photostructure/batch-cluster.js/blob/ea71a161575f375f5e3b4ebc6cc5716b52d9f80a/src/BatchCluster.ts#L558
I'm running it in an electron app, in the renderer, I wonder if this is relevant, I seem to remember there being a difference in the API of setTimeout in Node vs the browser which has caused me an issue with something before.
Let me know if I can help in anyway, and as ever, thanks for your awesome library!