fix: crash when resolving proxy due to network service restart (#42898)
Co-authored-by: trop[bot] <37223003+trop[bot]@users.noreply.github.com> Co-authored-by: deepak1556 <hop2deep@gmail.com>
This commit is contained in:
parent
c0e69d0fc6
commit
3bcb2f278f
4 changed files with 24 additions and 12 deletions
|
@ -329,7 +329,7 @@ const std::string& BrowserProcessImpl::GetSystemLocale() const {
|
|||
electron::ResolveProxyHelper* BrowserProcessImpl::GetResolveProxyHelper() {
|
||||
if (!resolve_proxy_helper_) {
|
||||
resolve_proxy_helper_ = base::MakeRefCounted<electron::ResolveProxyHelper>(
|
||||
system_network_context_manager()->GetContext());
|
||||
nullptr /* browser_context */);
|
||||
}
|
||||
return resolve_proxy_helper_.get();
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue