Skip to content

Avoid race condition#20

Open
eluck wants to merge 3 commits into
ALONELUR:masterfrom
eluck:patch-1
Open

Avoid race condition#20
eluck wants to merge 3 commits into
ALONELUR:masterfrom
eluck:patch-1

Conversation

@eluck

@eluck eluck commented Apr 9, 2023

Copy link
Copy Markdown

Problem: In 50% cases on my laptop the second exec is launched before the first exec returns results. Which causes not switching to another language.

Solution: Only run the second exec after the first one returns.

@eluck
eluck marked this pull request as ready for review April 9, 2023 11:28
@eluck

eluck commented Apr 9, 2023

Copy link
Copy Markdown
Author

Now it works well!

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.

1 participant