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

Propagate Dispose from GlyphTypefaceImpl to dispose SkTypeface #15733

Merged
merged 2 commits into from
May 24, 2024

Conversation

lindexi
Copy link
Contributor

@lindexi lindexi commented May 15, 2024

What does the pull request do?

Disposing the SkTypeface by code that can help the SkTypeface call the sk_refcnt_safe_unref faster.

What is the current behavior?

The SkTypeface will call the sk_refcnt_safe_unref when GC.

What is the updated/expected behavior with this PR?

It will dispose the SkTypeface faster.

How was the solution implemented (if it's not obvious)?

Checklist

Breaking changes

No

Obsoletions / Deprecations

Fixed issues

No

@avaloniaui-bot
Copy link

You can test this PR using the following package version. 11.2.999-cibuild0048477-alpha. (feed url: https://nuget-feed-all.avaloniaui.net/v3/index.json) [PRBUILDID]

@cla-avalonia
Copy link
Collaborator

cla-avalonia commented May 15, 2024

  • All contributors have signed the CLA.

@jmacato jmacato requested a review from Gillibald May 15, 2024 12:44
@lindexi
Copy link
Contributor Author

lindexi commented May 15, 2024

@cla-avalonia agree

@Gillibald
Copy link
Contributor

It looks like we can't update your branch so we can merge it

@lindexi
Copy link
Contributor Author

lindexi commented May 24, 2024

@Gillibald Thank you and I updated my branch.

@maxkatz6 maxkatz6 enabled auto-merge May 24, 2024 08:51
@avaloniaui-bot
Copy link

You can test this PR using the following package version. 11.2.999-cibuild0048582-alpha. (feed url: https://nuget-feed-all.avaloniaui.net/v3/index.json) [PRBUILDID]

@maxkatz6 maxkatz6 added this pull request to the merge queue May 24, 2024
Merged via the queue into AvaloniaUI:master with commit 0a59a22 May 24, 2024
10 checks passed
@lindexi lindexi deleted the t/lindexi/SKTypeface branch May 24, 2024 10:56
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

Successfully merging this pull request may close these issues.

None yet

5 participants