Make each class only have one weak map
This commit is contained in:
parent
28d1fb8cad
commit
cc8b22b5ff
10 changed files with 130 additions and 65 deletions
|
@ -424,6 +424,7 @@ void WebContents::WebContentsDestroyed() {
|
|||
// The RenderViewDeleted was not called when the WebContents is destroyed.
|
||||
RenderViewDeleted(web_contents()->GetRenderViewHost());
|
||||
Emit("destroyed");
|
||||
RemoveFromWeakMap();
|
||||
}
|
||||
|
||||
void WebContents::NavigationEntryCommitted(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue