2012/4/20 Jérôme Couture-Gagnon <jerome.couture-gag...@fabric-engine.com>: > Thank you for the tip. Unfortunately atexit() calls too late; having a > "finalize" callback from node would be helpful in my case. I need to > wait for worker threads to be finished, however doing this is more > complex as soon as the DLL is in the process of exiting (reference: > http://msdn.microsoft.com/en-us/windows/hardware/gg487379 p.6)
Node doesn't have anything like that right now unless a process.on('exit') listener is good enough for your use case. If you open an issue or submit a pull request, we'll add it. It'll be a while before it shows up in a stable release though so it won't help you right away. -- Job Board: http://jobs.nodejs.org/ Posting guidelines: https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines You received this message because you are subscribed to the Google Groups "nodejs" group. To post to this group, send email to nodejs@googlegroups.com To unsubscribe from this group, send email to nodejs+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/nodejs?hl=en?hl=en