On Sat, Feb 25, 2012 at 11:19 AM, Rambo <[email protected]> wrote: > I'm just having a bizarre bug I cannot find. > > object.on('event', f1); > function f1() { > console.log('before') > sync1(); > console.log('after') > } > > 'event' is being fired like 500 times per minute and I'm seeing 'after' > output sometimes. Seems like there are no remaining statements after > sync1(). Simply WTF. >
Remember that console.log is async -- that could be confusing matters. -- 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 [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/nodejs?hl=en?hl=en
