-
-
Notifications
You must be signed in to change notification settings - Fork 78
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 leak of text
& app crash on encode('png')
#412
Comments
text, rect, arc, bezier
maybe moretext
& app crash on encode('png')
I have also encountered this leak, I think the encoding crash might be a separate issue (related to how skia handles the underlying buffer, for example if you pass the buffer to another tool like sharp without copying it first, then you'll get the seg error). Also the leak can occur even when the encoding step doesn't take place. |
I'm wondering if |
I may have been slightly incorrect, but this reference says that if |
/cc @doodlewind |
I tried adding |
Discovered memory leak while drawing
text
and segmentation error app crash whenencoding
I created minimum reproducible example repository here https://github.com/MarosPistej/napi-rs-canvas-text-mem-leak
The text was updated successfully, but these errors were encountered: