Skip to content

fix: Avoid crashing in NativeViewHost::SetParentAccessible on Windows 10#26950

Merged
MarshallOfSound merged 3 commits into9-x-yfrom
trop/9-x-y-bp-fix-avoid-crashing-in-nativeviewhost-setparentaccessible-on-windows-10-1607708905202
Dec 11, 2020
Merged

fix: Avoid crashing in NativeViewHost::SetParentAccessible on Windows 10#26950
MarshallOfSound merged 3 commits into9-x-yfrom
trop/9-x-y-bp-fix-avoid-crashing-in-nativeviewhost-setparentaccessible-on-windows-10-1607708905202

Conversation

@trop
Copy link
Copy Markdown
Contributor

@trop trop Bot commented Dec 11, 2020

Backport of #26924

See that PR for details.

Notes: Fixed an occasional crash on Windows related to NativeViewHost::SetParentAccessible.

This fixes #26905. The patch was obtained from @deepak1556, who in turn
got it from the Microsoft Teams folks.

I believe the crash started happening due to the changes in
https://chromium.googlesource.com/chromium/src.git/+/5c6c8e994bce2bfb867279ae5068e9f9134e70c3%5E!/#F15

This affects Electron 9 and later.

Notes: Fix occasional crash on Windows
@trop trop Bot requested a review from a team as a code owner December 11, 2020 17:48
@electron-cation electron-cation Bot added the new-pr 🌱 PR opened recently label Dec 11, 2020
@trop trop Bot added 9-x-y backport This is a backport PR semver/patch backwards-compatible bug fixes labels Dec 11, 2020
@electron-cation electron-cation Bot removed the new-pr 🌱 PR opened recently label Dec 11, 2020
@MarshallOfSound MarshallOfSound merged commit e83bd9b into 9-x-y Dec 11, 2020
@release-clerk
Copy link
Copy Markdown

release-clerk Bot commented Dec 11, 2020

Release Notes Persisted

Fixed an occasional crash on Windows related to NativeViewHost::SetParentAccessible.

@MarshallOfSound MarshallOfSound deleted the trop/9-x-y-bp-fix-avoid-crashing-in-nativeviewhost-setparentaccessible-on-windows-10-1607708905202 branch December 11, 2020 20:51
belenko pushed a commit that referenced this pull request Dec 14, 2020
… 10 (#26950)

* fix: Avoid crashing in NativeViewHost::SetParentAccessible on Windows

This fixes #26905. The patch was obtained from @deepak1556, who in turn
got it from the Microsoft Teams folks.

I believe the crash started happening due to the changes in
https://chromium.googlesource.com/chromium/src.git/+/5c6c8e994bce2bfb867279ae5068e9f9134e70c3%5E!/#F15

This affects Electron 9 and later.

Notes: Fix occasional crash on Windows

* Update .patches

* update patches

Co-authored-by: Biru Mohanathas <birunthan@mohanathas.com>
Co-authored-by: Jeremy Rose <jeremya@chromium.org>
Co-authored-by: Electron Bot <electron@github.com>
This was referenced Mar 15, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

9-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.

4 participants