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

Repeated simulation pausing/stepping misbehaves fix #589 #592

Merged
merged 1 commit into from
Feb 19, 2019

Conversation

BMarchi
Copy link

@BMarchi BMarchi commented Feb 18, 2019

Ignition sends a message using a non blocking call when Play/Pause/Step buttons are pressed, if we press those buttons quickly, we can send the same pause/play/step button more than once, which ends up in aborting the simulation. I don't consider this an issue from ignition, since those messages are not relevant to wait for a response, it's better to handle this minor issue from delphyne rather than making a pr to ignition that could have some impact in performance for using a blocking call.

@BMarchi BMarchi requested a review from hidmic February 18, 2019 19:16
Copy link
Contributor

@hidmic hidmic left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, though it'd be nice to leave a note somewhere stating this makes pausing and unpausing idempotent actions.

@BMarchi BMarchi force-pushed the bmarchi/repeated_pause_play_step branch from ddc36f9 to d3f7b6c Compare February 19, 2019 13:31
@BMarchi BMarchi force-pushed the bmarchi/repeated_pause_play_step branch from d3f7b6c to 104e045 Compare February 19, 2019 13:33
@BMarchi BMarchi merged commit 716911c into master Feb 19, 2019
@clalancette clalancette deleted the bmarchi/repeated_pause_play_step branch February 25, 2019 15:23
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