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

Create an autorelease pool for every render timer tick #17414

Merged
merged 1 commit into from
Nov 2, 2024

Conversation

kekekeks
Copy link
Member

@kekekeks kekekeks commented Nov 2, 2024

Since render timer is ticking on a background thread that has no implicit autorelease pools, we should always have one before calling managed code that can technically make arbitrary callbacks to ObjC.

@kekekeks kekekeks added bug backport-candidate-11.1.x Consider this PR for backporting to 11.1 branch backport-candidate-11.2.x Consider this PR for backporting to 11.2 branch labels Nov 2, 2024
@avaloniaui-bot
Copy link

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

@maxkatz6 maxkatz6 merged commit 4684d9e into master Nov 2, 2024
10 of 12 checks passed
@maxkatz6 maxkatz6 deleted the fixes/render-timer-tick-arp branch November 2, 2024 22:14
@maxkatz6 maxkatz6 added backported-11.2.x and removed backport-candidate-11.2.x Consider this PR for backporting to 11.2 branch labels Nov 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport-candidate-11.1.x Consider this PR for backporting to 11.1 branch backported-11.2.x bug
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants