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

Add onRemove handler to behaviors #781

Merged

Conversation

lukasrad02
Copy link
Contributor

@lukasrad02 lukasrad02 commented Mar 23, 2023

With this new handler, behaviors can be informed when they're about to be removed from the state.

This allows cleaning up the state, e.g. removing activities spawned by the behavior that are still running.

@lukasrad02 lukasrad02 self-assigned this Mar 23, 2023
@lukasrad02 lukasrad02 linked an issue Mar 23, 2023 that may be closed by this pull request
@lukasrad02 lukasrad02 merged commit e547fa6 into dev Mar 23, 2023
@lukasrad02 lukasrad02 deleted the feature/719-terminate-activities-when-behavior-is-removed branch March 23, 2023 15:41
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.

Terminate activities when behavior is removed
2 participants