global leaks #3

merged 1 commit into from Jul 25, 2012

2 participants


I am using stream-spec for a project with mocha, and mocha was complaining about a global leak (Error: global leak detected: paused). This turned out to be in the pauseSpec function, that did not include a var before the paused variable was declared.

@dominictarr dominictarr merged commit 40c93dd into dominictarr:master Jul 25, 2012


I've had this error before, what does mocha do to detect global leaks?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment