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
|
@ -137,6 +137,7 @@ void NativeWindowViews::Close() {
|
|||
|
||||
void NativeWindowViews::CloseImmediately() {
|
||||
window_->CloseNow();
|
||||
window_.reset();
|
||||
}
|
||||
|
||||
void NativeWindowViews::Move(const gfx::Rect& bounds) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue