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

Possible fix for issue #91 - TryDeconstructComponent now waits for components to Start #92

Open
wants to merge 6 commits into
base: main
Choose a base branch
from

Conversation

eAi
Copy link

@eAi eAi commented May 19, 2022

This is a possible fix for #91. TryDeconstructComponent now uses a Promise to wait for a component to Start if it hasn't already then Stops it rather than just avoiding stopping them entirely. This fixes a situation where the components are never stopped, so Stop isn't called and the Heartbeat (etc) functions are never unregistered.

Edwin Lyons and others added 6 commits May 19, 2022 09:41
…mponents to Start and then Stops them rather than just avoiding stopping them entirely. This fixes a situation where the components are never stopped, so Stop isn't called and the Heartbeat (etc) functions are never unregistered.
…he component to never be stopped. This could be triggered by adding an instance to a valid place in the hierarchy then removing it in a single frame.
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.

1 participant