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

Fix repeated subscription to dropped scope leak #3569

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

ealmloff
Copy link
Member

When reactive scopes drop, they didn't remove themselves from signal's subscriber list until the signal was written to. That causes issues with the built in hot reloading signal which is never written to. This PR removes the subscriptions when the reactive scope drops

Fixes #3526

@ealmloff ealmloff added bug Something isn't working signals Related to the signals crate labels Jan 14, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working signals Related to the signals crate
Projects
None yet
Development

Successfully merging this pull request may close these issues.

bug: Potential memory leak when calling components
1 participant