Skip to content

fix: shutdown crash when unregistering power notification on windows - #52999

Merged
MarshallOfSound merged 1 commit into
41-x-yfrom
manual-bp/41-x-y/50878
Aug 19, 2026
Merged

MarshallOfSound merged 1 commit into
41-x-yfrom
manual-bp/41-x-y/50878

Conversation

@VerteDinde

Copy link
Copy Markdown
Member

Backport of #50878

See that PR for details.

Manual backport notes: PowerMonitor is not cppgc-managed on 41-x-y, so only the actual fix is carried (keep the HPOWERNOTIFY returned by RegisterSuspendResumeNotification and unregister with it); the SelfKeepAlive removal and the cppgc heap-snapshot spec from the 42-x-y backport (#50893) don't apply here.

Notes: Fixed shutdown crash on windows when power monitor notifications were subscribed.

…50878)

41-x-y note: PowerMonitor is not cppgc-managed on this branch, so only the RegisterSuspendResumeNotification handle fix is carried; the SelfKeepAlive removal does not apply.

(cherry picked from commit 05f1cb5)
@VerteDinde VerteDinde added backport This is a backport PR semver/patch backwards-compatible bug fixes 41-x-y labels Aug 19, 2026
@trop
trop Bot requested a review from deepak1556 August 19, 2026 01:24
@MarshallOfSound
MarshallOfSound enabled auto-merge (squash) August 19, 2026 07:15
@MarshallOfSound
MarshallOfSound merged commit dded211 into 41-x-y Aug 19, 2026
89 checks passed
@MarshallOfSound
MarshallOfSound deleted the manual-bp/41-x-y/50878 branch August 19, 2026 07:15
@release-clerk

release-clerk Bot commented Aug 19, 2026

Copy link
Copy Markdown

Release Notes Persisted

Fixed shutdown crash on windows when power monitor notifications were subscribed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

41-x-y backport This is a backport PR semver/patch backwards-compatible bug fixes

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants