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

Scheduler: fix invalidated iterator access in unscheduleAllWithMinPriority() #2194

Merged
merged 1 commit into from
Oct 1, 2024

Conversation

smilediver
Copy link
Contributor

This PR fixes the issue in unscheduleAllWithMinPriority() where it iterates lists and calls unscheduleUpdate() that removes elements from those lists and invalidates the iterators being used in the iteration.

@halx99 halx99 merged commit 4644b2b into axmolengine:dev Oct 1, 2024
15 checks passed
@halx99 halx99 added this to the 2.2 milestone Oct 1, 2024
@smilediver smilediver deleted the fix_scheduler branch October 4, 2024 14:21
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.

2 participants