Skip to content

Conversation

nornagon
Copy link
Contributor

@nornagon nornagon commented Oct 8, 2020

Description of Change

This delays emitting certain powerMonitor events on Windows to avoid entering V8 during a WndProc callback, which can cause crashes.

Checklist

Release Notes

Notes: Fixed a rare crash on Windows that could occur when emitting certain powerMonitor events.

@electron-cation electron-cation bot added the new-pr 🌱 PR opened recently label Oct 8, 2020
@electron-cation electron-cation bot removed the new-pr 🌱 PR opened recently label Oct 9, 2020
Copy link
Contributor

@zcbenz zcbenz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Build is failing.

@nornagon
Copy link
Contributor Author

@zcbenz should be fixed now.

@zcbenz zcbenz merged commit ae32356 into master Oct 27, 2020
@release-clerk
Copy link

release-clerk bot commented Oct 27, 2020

Release Notes Persisted

Fixed a rare crash on Windows that could occur when emitting certain powerMonitor events.

@trop
Copy link
Contributor

trop bot commented Oct 27, 2020

I have automatically backported this PR to "10-x-y", please check out #26180

@trop
Copy link
Contributor

trop bot commented Oct 27, 2020

I have automatically backported this PR to "11-x-y", please check out #26181

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.

3 participants