-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
Fix PNG memory leak #862
Fix PNG memory leak #862
Conversation
…ributed by pdfkit and pdfmake
…s a pdf with the difference if snapshot does not matches
… dependency on font classes
…ee and 24 other files
Some remarks:
|
I created a build using deflateSync You can test by using |
I haven't tried it and honestly the next few weeks are a big release so I doubt I'll get to it soon. But this looks like a good solution. I don't see why deflateSync wouldn't work. |
Probably fixed by #889 . The issue still can occur because png-js decodePixels calls zlib inflate async, but odds are much smaller. |
This is to fix for #861. I created it on top of @blikblum's very awesome convert-es6 branch that he created for #859 so please merge that first.