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

Fix crash in link to destroyed agents #1827

Merged
merged 1 commit into from
May 2, 2021

Conversation

kristoff3r
Copy link
Contributor

Description

The destroyed field on the agent state was never set, so the early return in run didn't prevent crashes when agents receive messages after they are destroyed.

Checklist

  • I have run cargo make pr-flow
  • I have reviewed my own code
  • I have added tests

The destroyed field on the agent state was never set, so the early
return in `run` didn't prevent crashes when agents receive messages
after they are destroyed.
@siku2 siku2 merged commit 2e89f29 into yewstack:master May 2, 2021
@voidpumpkin voidpumpkin added the A-yew-agent Area: The yew-agent crate label Nov 26, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-yew-agent Area: The yew-agent crate
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants