Closed MFGiscad closed 9 years ago
I've pushed 0.1.25
which now waits for all the workers to finish writing files before firing the callback. This has little to no effect on #10 so I'm going to continue digging in that issue. Happy to re-open this one if you find the callback order still isn't correct.
I looked a bit into the source code and noticed that the callback function is called before all files are written. I also noticed that in my case there are 4 workers left, that aren't ready and are not killed before callback() is called.
Also the last few console logs are:
so the workers haven't finished the saving before callback() is fired.