Skip to content

DEV: track and cancel timers in the post-stream viewport tracker #33134

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

Merged
merged 1 commit into from
Jun 9, 2025

Conversation

megothss
Copy link
Contributor

@megothss megothss commented Jun 9, 2025

Introduced a map to manage scheduled/debounced timers, ensuring they are canceled when the component is destroyed. This improves memory management and prevents potential issues with lingering timers after destruction. Updated relevant methods to utilize this new tracking mechanism.

Introduced a map to manage scheduled/debounced timers, ensuring they are canceled when the component is destroyed. This improves memory management and prevents potential issues with lingering timers after destruction. Updated relevant methods to utilize this new tracking mechanism.
@megothss megothss merged commit b35d964 into main Jun 9, 2025
38 of 41 checks passed
@megothss megothss deleted the dev/glimmer-post-stream-cancel-timers branch June 9, 2025 23:18
martin-brennan pushed a commit that referenced this pull request Jun 10, 2025
)

Introduced a map to manage scheduled/debounced timers, ensuring they are
canceled when the component is destroyed. This improves memory
management and prevents potential issues with lingering timers after
destruction. Updated relevant methods to utilize this new tracking
mechanism.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants