diff --git a/atom/browser/native_window_views.cc b/atom/browser/native_window_views.cc index 0dfb25e5a47c..a1f49105d6d6 100644 --- a/atom/browser/native_window_views.cc +++ b/atom/browser/native_window_views.cc @@ -334,6 +334,11 @@ NativeWindowViews::NativeWindowViews( NativeWindowViews::~NativeWindowViews() { window_->RemoveObserver(this); + +#if defined(OS_WIN) + // Disable mouse forwarding to relinquish resources, should any be held. + SetForwardMouseMessages(false); +#endif } void NativeWindowViews::Close() {