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: work-around electron's broken event loop #5867

Merged

Conversation

aslushnikov
Copy link
Collaborator

Since setImmediate doesn't create a new task in Electron,
we have to fallback to setTimeout instead.

See electron/electron#28261 for details.

Fixes #5228

Since `setImmediate` doesn't create a new task in Electron,
we have to fallback to `setTimeout` instead.

See electron/electron#28261 for details.

Fixes microsoft#5228
@aslushnikov aslushnikov merged commit 9a50304 into microsoft:master Mar 18, 2021
@aslushnikov aslushnikov deleted the workaround-eventloop-bug-in-electron branch March 18, 2021 16:29
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.

[BUG] launchPersistentContext hanging on "about:blank" [REOPENED]
2 participants