-
Notifications
You must be signed in to change notification settings - Fork 593
Test disposing GRContext does not crash for Metal backend #3258
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
Test disposing GRContext does not crash for Metal backend #3258
Conversation
a53ebbd
to
8a1443c
Compare
8a1443c
to
0fb74fb
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I am not 100% sure if we are supposed to retain, but according to instruments this does not leak. So I guess we are supposed to?
I see various places that have retain on there, so this is looking safe for now.
0fb74fb
to
c9de72c
Compare
I've moved the corresponding fix for the double free to mono/skia#159 |
50cefd3
to
cc80eb4
Compare
Thanks for all this investigation! |
Description of Change
Unit test for double free fixed in
Bugs Fixed
Fixes: #3178
API Changes
None.
Behavioral Changes
None.
Required skia PR
PR Checklist