Skip to content

check for elements #106

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
Nov 17, 2020
Merged

check for elements #106

merged 1 commit into from
Nov 17, 2020

Conversation

nikgraf
Copy link
Contributor

@nikgraf nikgraf commented Nov 10, 2020

In our production error logs we noticed that in some cases the _updateAllElements gets called after destroy already ran. I don't have an reproducible example, but guess it's related to callbacks running after the component already has been remove.

By checking for elements we can make sure at least no unexpected error is thrown.

@jscottsmith jscottsmith merged commit 775bd66 into jscottsmith:master Nov 17, 2020
jscottsmith pushed a commit that referenced this pull request Nov 19, 2020
@jscottsmith
Copy link
Owner

@nikgraf released and thanks for the pull.

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