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

Don't block on snippet evaluation #2013

Merged
merged 2 commits into from
Jan 10, 2023

Conversation

julienvincent
Copy link
Contributor

If a snippet is evaluated with runCustomREPLCommand and it blocks (due to a bug or some such) then the editor almost completely deadlocks.

This commit changes the command handler for runCustomREPLCommand to not block on snippet evaluation.

Fixes #2012

@PEZ
Copy link
Collaborator

PEZ commented Jan 9, 2023

Cool! Many thanks for your quality focus!

I will have a look later tonight, I hope.

If a snippet is evaluated with runCustomREPLCommand and it blocks (due
to a bug or some such) then the editor almost completely deadlocks.

This commit changes the command handler for `runCustomREPLCommand` to
not block on snippet evaluation.

Fixes BetterThanTomorrow#2012
Copy link
Collaborator

@PEZ PEZ left a comment

Choose a reason for hiding this comment

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

Thanks! LGTM.

@PEZ PEZ merged commit a08e39a into BetterThanTomorrow:dev Jan 10, 2023
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

2 participants