Thanks for reply. A little more about the project - it's a web crawler that 
uses lots of selenium nodes. Selenium nodes are very unstable and hangs 
frequently.

Yes you are right my code isnt finished and need to ensure that callback will 
be called only once. But, my primary concern is memory leeks (maybe also 
descriptors leeks as it won't be released also). Is there a way to prevent 
those leaks and terminate hanging callbacks and release allocated resources?

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

--- 
You received this message because you are subscribed to the Google Groups 
"nodejs" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to nodejs+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to