mirror of
https://github.com/electron/electron.git
synced 2026-05-02 03:00:22 -04:00
fix: crash on boot with --log-net-log (#22035)
This commit is contained in:
@@ -102,6 +102,8 @@ ElectronBrowserContext::ElectronBrowserContext(const std::string& partition,
|
||||
storage_policy_(new SpecialStoragePolicy),
|
||||
in_memory_(in_memory),
|
||||
weak_factory_(this) {
|
||||
// TODO(nornagon): remove once https://crbug.com/1048822 is fixed.
|
||||
base::ScopedAllowBlockingForTesting allow_blocking;
|
||||
user_agent_ = ElectronBrowserClient::Get()->GetUserAgent();
|
||||
|
||||
// Read options.
|
||||
|
||||
Reference in New Issue
Block a user