fix: browser contexts live forever (#24964)
This commit is contained in:
parent
befbbc27d8
commit
bac2f46ba9
11 changed files with 68 additions and 73 deletions
|
@ -553,6 +553,8 @@ void ElectronBrowserMainParts::PostMainMessageLoopRun() {
|
|||
js_env_->OnMessageLoopDestroying();
|
||||
node_env_.reset();
|
||||
|
||||
ElectronBrowserContext::browser_context_map().clear();
|
||||
|
||||
fake_browser_process_->PostMainMessageLoopRun();
|
||||
content::DevToolsAgentHost::StopRemoteDebuggingPipeHandler();
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue