Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Memory leaks? #8

Open
niklasberglund opened this issue Nov 27, 2017 · 2 comments
Open

Memory leaks? #8

niklasberglund opened this issue Nov 27, 2017 · 2 comments

Comments

@niklasberglund
Copy link

niklasberglund commented Nov 27, 2017

Was running the leaks instrument on an app I'm working on and it says there's a leak in the line:

document = Snowflake.Document(fileName: someFileName)

Also tried running the leaks instrument on the example project and it is identifying leaks when rendering some shapes. For example choose Misc and then path_s2.

Not sure what to do with this. Can it be safely ignored?

@niklasberglund
Copy link
Author

Instruments is showing that the leaks are in Libxml2, but it could be that Snowflake got Libxml2 objects which aren't properly released.

@onmyway133
Copy link
Owner

@niklasberglund Hi, thanks for reporting. The uses of libxml2 is from Reindeers library https://github.com/onmyway133/Reindeers/blob/master/Sources/Document.swift If you find a fix, I would love your PR for this ❤️

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants