I don't see anything obvious, but these are the questions I would be asking myself while investigating.
Is "someClass.someFunction" taking a single use call callback? Or does the first call to it register the callback somewhere and then reuse it for future results?
Your extra closure wrapping doesn't appear to be necessary, but it shouldn't be causing any problems. Does the behavior change if you remove it?
Are you using a transpiler, or is this code run as-is?
~Ryan
--
Job board: http://jobs.nodejs.org/
New group rules: https://gist.github.com/othiym23/9886289#file-moderation-policy-md
Old group rules: 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 unsubscribe from this group and stop receiving emails from it, send an email to nodejs+un...@googlegroups.com.
To post to this group, send email to nod...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/nodejs/2154584f-db49-48dc-a07b-e1378fd27f07%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
~Ryan