Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

drewjenkins
Copy link
Contributor

When destroying tether, it assumes the parents still exist and are valid. This can cause a race condition with frameworks like react, where if the component tether is hooked to is unmounted before tether can destroy, it will throw a

parent.removeEventListener is not a function

error.

@RobbieTheWagner RobbieTheWagner merged commit cbd7cd8 into shipshapecode:master Feb 6, 2021
@RobbieTheWagner
Copy link
Member

Thanks for the PR!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants