Skip to content
This repository was archived by the owner on Aug 1, 2025. It is now read-only.

fix: release canvas after use - #8123

Draft
fengzhou-sg wants to merge 1 commit into
mainfrom
fengzhou/cody-6101
Draft

fengzhou-sg wants to merge 1 commit into
mainfrom
fengzhou/cody-6101

Conversation

@fengzhou-sg

@fengzhou-sg fengzhou-sg commented Jun 27, 2025 •

Copy link
Copy Markdown
Contributor

Call canvas.dispose to clean-up resources after uses. This should prevent memory leak, which may cause failures in new canvas creations.

See also Shopify/react-native-skia#2079

ref: CODY-6011

Test plan

Call `canvas.dispose` to clean-up resources after uses. This should prevent memory leak, which may cause failures in new canvas creations.

ref: CODY-6011
@fengzhou-sg
fengzhou-sg requested a review from umpox June 27, 2025 23:22
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant