Skip to content

Call RectManager.removeScheduledCallback on RootNodeOwner.dispose#2888

Merged
Alexander Maryanovsky (m-sasha) merged 4 commits into
jb-mainfrom
m-sasha/cleanup-rectmanager
Mar 24, 2026
Merged

Call RectManager.removeScheduledCallback on RootNodeOwner.dispose#2888
Alexander Maryanovsky (m-sasha) merged 4 commits into
jb-mainfrom
m-sasha/cleanup-rectmanager

Conversation

@m-sasha

Copy link
Copy Markdown

Make sure RectManager cleans its scheduled tasks when the scene is closed.

Fixes https://youtrack.jetbrains.com/issue/CMP-8978

Testing

Added a unit test

Release Notes

Fixes - Desktop

  • Clear some scheduled tasks on scene closure.

Comment thread compose/foundation/foundation/build.gradle Outdated
@m-sasha Alexander Maryanovsky (m-sasha) merged commit b774c9b into jb-main Mar 24, 2026
18 checks passed
@m-sasha Alexander Maryanovsky (m-sasha) deleted the m-sasha/cleanup-rectmanager branch March 24, 2026 12:41
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.

3 participants