Skip to content

Navigation Menu

Sign in
Sign up

Mocha reports variable leaks into global scope - #32

Open
forissier wants to merge 2 commits into
robrighter:master from
forissier:master
Open

Mocha reports variable leaks into global scope #32
forissier wants to merge 2 commits into
robrighter:master from
forissier:master

Conversation

@forissier

@forissier forissier commented Mar 14, 2013

Copy link
Copy Markdown

Mocha (http://visionmedia.github.com/mocha/) reports some errors in a projet of mine that uses SaxParser().
For instance:
Error: global leak detected: util
Error: global leaks detected: iRet, theatts, splits, nameobject, that

Mocha (http://visionmedia.github.com/mocha/) reports the following error
when running tests on code that calls SaxParser().parseString():
 Error: global leak detected: util
Fixes the follwing Mocha error:
 Error: global leaks detected: iRet, theatts, splits, nameobject, that

Copy link
Copy Markdown

mocha still reports leaks:
Error: global leaks detected: iRet, theatts, splits, nameobject, that, theattsandnamespace, strEnt

Would it be nice if node-xml come with a set of unit test ?

Copy link
Copy Markdown

Looks like node-xml has a leak in the memory. At least if I am running mocha with "--check-leaks" check its working. Now I thinking to find another library because I don't want to have any leaks in memory in my project.

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

Reviewers

No reviews

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

AltStyle によって変換されたページ (->オリジナル) /