mirror of
https://github.com/electron/electron.git
synced 2026-01-28 00:38:35 -05:00
Initialize ProxyResolverV8 at very early phrase.
In atom-shell we need to ensure node environment is initialized after the ProxyResolverV8 has been initialized.
This commit is contained in:
@@ -60,6 +60,8 @@ void BrowserMainParts::PreEarlyInitialization() {
|
||||
#if defined(USE_AURA) && defined(USE_X11)
|
||||
views::LinuxUI::SetInstance(BuildGtk2UI());
|
||||
#endif
|
||||
|
||||
InitProxyResolverV8();
|
||||
}
|
||||
|
||||
void BrowserMainParts::ToolkitInitialized() {
|
||||
@@ -104,7 +106,6 @@ int BrowserMainParts::PreCreateThreads() {
|
||||
views::CreateDesktopScreen());
|
||||
#endif
|
||||
|
||||
InitProxyResolverV8();
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user