-
Notifications
You must be signed in to change notification settings - Fork 15.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix: delay emitting powerMonitor events on windows #25836
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Build is failing.
c47b931
to
32d6646
Compare
@zcbenz should be fixed now. |
Release Notes Persisted
|
I have automatically backported this PR to "10-x-y", please check out #26180 |
I have automatically backported this PR to "11-x-y", please check out #26181 |
Description of Change
This delays emitting certain powerMonitor events on Windows to avoid entering V8 during a WndProc callback, which can cause crashes.
Checklist
npm test
passesRelease Notes
Notes: Fixed a rare crash on Windows that could occur when emitting certain powerMonitor events.