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: additional check for component on destroy #11488

Merged
merged 4 commits into from
May 6, 2024
Merged

Conversation

hardl
Copy link
Contributor

@hardl hardl commented May 6, 2024

fix for #10454

this.$$c may be undefined if element was removed from DOM right after attaching, before svelte component was instanciated

Copy link

changeset-bot bot commented May 6, 2024

🦋 Changeset detected

Latest commit: 8ae1b54

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
svelte Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@dummdidumm dummdidumm merged commit 3e1f82b into sveltejs:main May 6, 2024
6 of 8 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.

2 participants