From: Cheng Zhao Date: Mon, 28 Jul 2014 10:19:04 +0000 (+0000) Subject: views: No need to destroy Widget, CloseNow already closed native window. X-Git-Tag: v0.15.0~1^2~2 X-Git-Url: http://git.khamidou.com/?a=commitdiff_plain;h=87019a1a70d2f6190027440f66248291fe0aa303;p=electron.git views: No need to destroy Widget, CloseNow already closed native window. --- diff --git a/atom/browser/native_window_views.cc b/atom/browser/native_window_views.cc index 89665c68..4c99a563 100644 --- a/atom/browser/native_window_views.cc +++ b/atom/browser/native_window_views.cc @@ -137,7 +137,6 @@ void NativeWindowViews::Close() { void NativeWindowViews::CloseImmediately() { window_->CloseNow(); - window_.reset(); } void NativeWindowViews::Move(const gfx::Rect& bounds) {