Skip to content

Fix for reset/panic overriding the user's stop #88

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

Merged
merged 12 commits into from
Oct 31, 2022

Conversation

microbit-matt-hillsdon
Copy link
Contributor

Switch to an enum to make the possible states easier to follow and so we can check we're in the default state before committing to a reset or panic.

Closes #86

Switch to an enum to make the possible states easier to follow and so we
can check we're in the default state before committing to a reset or
panic.

Closes #86
@netlify
Copy link

netlify bot commented Oct 31, 2022

Deploy Preview for distracted-dubinsky-fd8a42 ready!

Name Link
🔨 Latest commit 5657b7a
🔍 Latest deploy log https://app.netlify.com/sites/distracted-dubinsky-fd8a42/deploys/635ff8307aaac5000857619f
😎 Deploy Preview https://deploy-preview-88--distracted-dubinsky-fd8a42.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site settings.

I don't think it was consequential as it's called only from the message
handler which doesn't need to wait for the result.
@microbit-matt-hillsdon microbit-matt-hillsdon changed the title Fix for reset/panic overriding the user's stop. Fix for reset/panic overriding the user's stop Oct 31, 2022
@microbit-matt-hillsdon
Copy link
Contributor Author

As this affects key functionality, I'll stand-up a branch of the V3 editor that uses the review branch from this PR so we can test the start/stop/reset functionality in that context.

@microbit-matt-hillsdon
Copy link
Contributor Author

microbit-matt-hillsdon commented Oct 31, 2022

@microbit-matt-hillsdon microbit-matt-hillsdon marked this pull request as ready for review October 31, 2022 15:45
Copy link
Contributor

@microbit-robert microbit-robert left a comment

Choose a reason for hiding this comment

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

Minor typo in comment. Looks good and appears to fix the linked issue. No unintentional side effects observed.

Co-authored-by: Robert Knight <95928279+microbit-robert@users.noreply.github.com>
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.

Cannot stop simulator with program containing reset in tight loop
2 participants