Skip to content

Fix routing removed-children memory leak on JavaFX 25#115

Merged
FlorianKirmaier merged 2 commits into
mainfrom
fix/routing-removed-children-leak
Jun 14, 2026
Merged

Fix routing removed-children memory leak on JavaFX 25#115
FlorianKirmaier merged 2 commits into
mainfrom
fix/routing-removed-children-leak

Conversation

@FlorianKirmaier

Copy link
Copy Markdown
Contributor

Removed pages were retained via the container's NG peer removed-list under JavaFX 25 headless rendering. First commit bumps jpro-platform to JavaFX 25.0.2 + jfx-25-sandec Monocle and adds the failing routing reproducer; second commit fixes it by swapping page content while the container is not tree-visible (so Parent skips peer.addToRemoved).

🤖 Generated with Claude Code

FlorianKirmaier and others added 2 commits June 14, 2026 22:07
…ng TextFlow leak test

The TextFlow-removed-children leak reproduces on JavaFX 25 headless rendering.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
…is hidden

Setting the container not-tree-visible during the swap makes Parent skip
peer.addToRemoved, so the removed page is not retained by the NG peer.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@FlorianKirmaier FlorianKirmaier force-pushed the fix/routing-removed-children-leak branch from 1688ce5 to 25a17cd Compare June 14, 2026 20:14
@FlorianKirmaier FlorianKirmaier merged commit 1cc6ec6 into main Jun 14, 2026
3 of 5 checks passed
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.

1 participant