VerteDinde

#47482: fix: revert moving IsClosed() and IsClosable() into NativeWindow::Close()

Merged
Created: Jun 16, 2025, 1:35:54 PM
Merged: Jun 16, 2025, 6:41:19 PM
4 comments
Target: main

Description of Change

We're seeing a group of tests that are now failing on Electron 37 between alpha.2 and alpha.3; while debugging, it looks like the app is not closing properly between tests. This PR attempts to revert IsClose() logic refactoring that landed around the time of the regression

This reverts commit 3faddd5.

Checklist

Release Notes

Notes: Fixed an issue on application close on Windows, where not all processes are quit on close.

Backports

37-x-y
Merged
PR Number
#47485
Merged At
Jun 16, 2025, 11:20:54 PM
Released In
v37.0.0-beta.7
Release Date
Jun 16, 2025, 11:23:17 PM

Semver Impact

Major
Breaking changes
Minor
New features
Patch
Bug fixes
None
Docs, tests, etc.

Semantic Versioning helps users understand the impact of updates:

  • Major (X.y.z): Breaking changes that may require code modifications
  • Minor (x.Y.z): New features that maintain backward compatibility
  • Patch (x.y.Z): Bug fixes that don't change the API
  • None: Changes that don't affect using facing parts of Electron