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.
Co-authored-by: deepak1556 <hop2deep@gmail.com>
* chore: remove redundant selfkeepalive
Followup to 7c0cb61b3c
Co-authored-by: deepak1556 <hop2deep@gmail.com>
* chore: fix lint
Co-authored-by: deepak1556 <hop2deep@gmail.com>
* chore: address review feedback
Co-authored-by: deepak1556 <hop2deep@gmail.com>
---------
Co-authored-by: trop[bot] <37223003+trop[bot]@users.noreply.github.com>
Co-authored-by: deepak1556 <hop2deep@gmail.com>