8000 browser: fix race in creation of default browser context by AtomAccessTokenStore by deepak1556 · Pull Request #7628 · electron/electron · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

browser: fix race in creation of default browser context by AtomAccessTokenStore #7628

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

Merged
merged 1 commit into from
Oct 24, 2016

Conversation

deepak1556
Copy link
Member

When no default browser context is created, multiple calls to TokenLoadingJob will cause a race in browser context creation and crash. The patch creates the browser context when access token store is initialized and passes it to TokenLoadingJob.

Fixes #7607

@zcbenz
8000
Copy link
Contributor
zcbenz commented Oct 24, 2016

👍

@zcbenz zcbenz merged commit 88ac376 into electron:master Oct 24, 2016
@kazkondo
Copy link
kazkondo commented Jan 18, 2017

This change causes a few seconds freezing of the UI thread when loading a site such as http://www.google.com in webview tag. If you quit the application during that freeze, electrons crash.

@ghost
Copy link
ghost commented Apr 4, 2017

@kazkondo I've got the same problem. Is there any possibility to fix this?

@deepak1556
Copy link
Member Author

@simoncaminada the freezing thread issue has been fixed in #8923 and is available with 1.6.5-beta release.

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.

3 participants
0