Skip to content

chore(deps): upgrade electron from 40.6.1 to 40.8.0#13288

Merged
DeJeune merged 1 commit intomainfrom
chore/upgrade-electron-40.8.0
Mar 7, 2026
Merged

chore(deps): upgrade electron from 40.6.1 to 40.8.0#13288
DeJeune merged 1 commit intomainfrom
chore/upgrade-electron-40.8.0

Conversation

@0xfullex
Copy link
Copy Markdown
Member

@0xfullex 0xfullex commented Mar 7, 2026

What this PR does

Before this PR:
Electron 40.6.1 had a native crash on Windows when closing transparent frameless windows (Chromium 144 compositor use-after-free), which required a hide-then-destroy workaround in SelectionService (#13177).

After this PR:
Electron upgraded to 40.8.0 which fixes the crash natively, allowing the workaround to be removed.

Fixes #

N/A

Why we need it and why it was done in this way

The following tradeoffs were made:
None. This is a straightforward dependency upgrade that removes a workaround no longer needed.

The following alternatives were considered:
None.

Breaking changes

None.

Special notes for your reviewer

Checklist

  • PR: The PR description is expressive enough and will help future contributors
  • Code: Write code that humans can understand and Keep it simple
  • Refactor: You have left the code cleaner than you found it (Boy Scout Rule)
  • Upgrade: Impact of this change on upgrade flows was considered and addressed if required
  • Documentation: A user-guide update was considered and is present (link) or not required.
  • Self-review: I have reviewed my own code before requesting review from others

Release note

NONE

Electron 40.8.0 fixes the native crash when closing transparent frameless
windows on Windows (Chromium 144 compositor use-after-free). This allows
us to remove the hide-then-destroy workaround added in #13177.

Co-Authored-By: Claude Opus 4.6 <[email protected]>
Signed-off-by: fullex <[email protected]>
@DeJeune DeJeune merged commit 8ae9759 into main Mar 7, 2026
11 checks passed
@DeJeune DeJeune deleted the chore/upgrade-electron-40.8.0 branch March 7, 2026 14:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants