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 ThinkerIterator Shenanigans #21

Closed
XaserAcheron opened this issue May 21, 2017 · 0 comments
Closed

Fix ThinkerIterator Shenanigans #21

XaserAcheron opened this issue May 21, 2017 · 0 comments
Assignees
Labels
Milestone

Comments

@XaserAcheron
Copy link
Owner

From this thread:

The damnum thinker destroys stuff when it receives an event. And unfortunately due to the setup this is precisely the next thinker to be iterated by the ThinkerIterator which as a result loses its link to the chain.

I cannot fix this, but the workaround should be that SpawnAndDestroy does not actually destroy the thinker but only flags it for destruction in its next Tick call.

@XaserAcheron XaserAcheron added this to the v0.2.0 milestone May 21, 2017
@XaserAcheron XaserAcheron self-assigned this May 21, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant