Skip to content

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

Open
eAi wants to merge 6 commits intoSleitnick:mainfrom
eAi:main
Open

Possible fix for issue #91 - TryDeconstructComponent now waits for components to Start#92
eAi wants to merge 6 commits intoSleitnick:mainfrom
eAi:main

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