Skip to content

Fixed a bug with stale _usedCache value that wasn't reset properly - #21823

Merged
MrJul merged 1 commit into
mainfrom
fixes/cache-effect-bug
Jul 22, 2026
Merged

Fixed a bug with stale _usedCache value that wasn't reset properly#21823
MrJul merged 1 commit into
mainfrom
fixes/cache-effect-bug

Conversation

@kekekeks

Copy link
Copy Markdown
Member

The field was never cleared somehow.

@MrJul MrJul added bug area-rendering backport-candidate-12.1.x Consider this PR for backporting to 12.1 branch labels Jul 22, 2026

@MrJul MrJul left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@MrJul
MrJul enabled auto-merge July 22, 2026 13:32
@MrJul
MrJul added this pull request to the merge queue Jul 22, 2026
@avaloniaui-bot

Copy link
Copy Markdown

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

Merged via the queue into main with commit b3810fc Jul 22, 2026
11 checks passed
@MrJul
MrJul deleted the fixes/cache-effect-bug branch July 22, 2026 14:30
kekekeks added a commit that referenced this pull request Jul 22, 2026
Resolves a PostSubgraph conflict in ServerCompositionVisual.Render.cs by keeping both the incoming _usedCache reset (#21823) and the volatile backdrop-layer pop, with the reset placed immediately after the block that consumes _usedCache.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@MrJul MrJul added backported-12.1.x and removed backport-candidate-12.1.x Consider this PR for backporting to 12.1 branch labels Jul 29, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants