This reverts commit 90b5ba3bed
.
This commit is contained in:
parent
aab5ea5f9d
commit
c83de755c1
2 changed files with 2 additions and 9 deletions
|
@ -951,9 +951,9 @@ void ElectronBrowserClient::RenderProcessReady(
|
|||
void ElectronBrowserClient::RenderProcessExited(
|
||||
content::RenderProcessHost* host,
|
||||
const content::ChildProcessTerminationInfo& info) {
|
||||
if (delegate_)
|
||||
if (delegate_) {
|
||||
static_cast<api::App*>(delegate_)->RenderProcessExited(host);
|
||||
host->RemoveObserver(this);
|
||||
}
|
||||
}
|
||||
|
||||
void OnOpenExternal(const GURL& escaped_url, bool allowed) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue