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

More cautious sequence advancing #102

Merged
merged 2 commits into from
Dec 12, 2023
Merged

More cautious sequence advancing #102

merged 2 commits into from
Dec 12, 2023

Conversation

mxgrey
Copy link
Contributor

@mxgrey mxgrey commented Nov 21, 2023

There is a risk that a downstream event implementation could cause the sequence to advance multiple times, e.g. by incorrectly calling its finished callback. This PR prevents that by checking whether we have already processed the event advancement when the finished callback is triggered.

mxgrey and others added 2 commits November 21, 2023 15:27
Signed-off-by: Michael X. Grey <mxgrey@intrinsic.ai>
Signed-off-by: Michael X. Grey <grey@openrobotics.org>
@mxgrey mxgrey merged commit 4edeb82 into main Dec 12, 2023
5 checks passed
@mxgrey mxgrey deleted the cautious_advance branch December 12, 2023 14:13
mxgrey added a commit that referenced this pull request Dec 12, 2023
Signed-off-by: Michael X. Grey <mxgrey@intrinsic.ai>
mxgrey added a commit that referenced this pull request Dec 15, 2023
Signed-off-by: Michael X. Grey <mxgrey@intrinsic.ai>
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.

None yet

1 participant