mirror of
https://github.com/electron/electron.git
synced 2026-05-02 03:00:22 -04:00
* fix: crash on shutdown when unregistering power notification
Refs https://learn.microsoft.com/en-us/windows/win32/api/winuser/nf-winuser-unregistersuspendresumenotification
the handle should be the return value of registeration api
not the window handle.
* chore: remove redundant selfkeepalive
Followup to 7c0cb61b3c
* chore: fix lint
* chore: address review feedback