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

🪲 Fix stop program being shown indefinitely #5560

Merged
merged 4 commits into from
May 26, 2024
Merged

Conversation

jpelay
Copy link
Member

@jpelay jpelay commented May 23, 2024

The problem was that we were trying to use the theGlobalDebugger variable while it was undefined. By using the ? operator of typescript we guarantee that we won't be trying to call a method if the object is null.

Fixes #5555

How to test

I added a Cypress test., but also you can try running programs and see if the button works normally again!

Copy link
Member

@Felienne Felienne left a comment

Choose a reason for hiding this comment

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

Solves the problem!

Copy link
Contributor

mergify bot commented May 25, 2024

Thank you for contributing! Your pull request is now going on the merge train (choo choo! Do not click update from main anymore, and be sure to allow changes to be pushed to your fork).

Copy link
Contributor

mergify bot commented May 26, 2024

Thank you for contributing! Your pull request is now going on the merge train (choo choo! Do not click update from main anymore, and be sure to allow changes to be pushed to your fork).

@mergify mergify bot merged commit f009ee0 into main May 26, 2024
12 checks passed
@mergify mergify bot deleted the fix-stopprogram branch May 26, 2024 05:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

🪲 Stop program button doesn't change to run program once program finishes execution
2 participants