fix: browser contexts live forever (#24964)
This commit is contained in:
parent
befbbc27d8
commit
bac2f46ba9
11 changed files with 68 additions and 73 deletions
|
@ -419,7 +419,7 @@ void ElectronURLLoaderFactory::StartLoadingHttp(
|
|||
if (request->method != "GET" && request->method != "HEAD")
|
||||
dict.Get("uploadData", &upload_data);
|
||||
|
||||
scoped_refptr<ElectronBrowserContext> browser_context =
|
||||
ElectronBrowserContext* browser_context =
|
||||
ElectronBrowserContext::From("", false);
|
||||
v8::Local<v8::Value> value;
|
||||
if (dict.Get("session", &value)) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue