-
Notifications
You must be signed in to change notification settings - Fork 11
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
Conversation
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
✅ Deploy Preview for distracted-dubinsky-fd8a42 ready!
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.
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. |
URL to embed: https://review-python-simulator.usermbit.org/user-stop-wins/simulator.html V3 editor review branch using the above: https://review-python-editor-v3.microbit.org/user-stop-wins/ |
Reset/Panic are only applicable internally.
There was a problem hiding this 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>
This reverts commit 7c5b2e6.
This reverts commit 9d7c834.
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