mirror of
https://github.com/electron/electron.git
synced 2026-04-10 03:01:51 -04:00
views: No need to destroy Widget, CloseNow already closed native window.
This commit is contained in:
@@ -137,7 +137,6 @@ void NativeWindowViews::Close() {
|
||||
|
||||
void NativeWindowViews::CloseImmediately() {
|
||||
window_->CloseNow();
|
||||
window_.reset();
|
||||
}
|
||||
|
||||
void NativeWindowViews::Move(const gfx::Rect& bounds) {
|
||||
|
||||
Reference in New Issue
Block a user