The async flow-control library (https://github.com/caolan/async/pull/200) 
goes as far as to throw an error when a callback is called multiple times.

Sure, you could mask the problem via the once library mentioned above or 
_.once (http://underscorejs.org/#once), but I agree with jmar777 -- instead 
of masking it, you should treat it seriously and figure out the cause. The 
few times that this has happened to me, it hasn't been too hard to figure 
out the cause and fix it -- and I'm glad I did.

-- 
-- 
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/groups/opt_out.

Reply via email to