Make sure window is closed before WebContents is destroyed.
Otherwise we would get "RawChannel fatal error".
This commit is contained in:
parent
143bde007a
commit
ec4275ca13
3 changed files with 2 additions and 7 deletions
|
@ -241,6 +241,7 @@ void NativeWindowMac::Close() {
|
|||
|
||||
void NativeWindowMac::CloseImmediately() {
|
||||
[window_ close];
|
||||
window_.reset();
|
||||
}
|
||||
|
||||
void NativeWindowMac::Move(const gfx::Rect& pos) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue