Skip to content
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: handle nullish WebContentsView in UpdateDraggableRegions #30556

Merged
merged 2 commits into from Aug 17, 2021

Conversation

MarshallOfSound
Copy link
Member

Follow up to #30304 the issue was not that the NativeView was missing (it's stack allocated anyway, so truthy checking it didn't do anything). The crash shows a failure in the pointer indirection of the unique_ptr for the view. i.e. the view was nullptr.

Notes: Fixed rare crash in UpdateDraggableRegions

@electron-cation electron-cation bot added the new-pr 🌱 PR opened in the last 24 hours label Aug 16, 2021
@MarshallOfSound MarshallOfSound added the fast-track 🚅 Indicates that this PR is intended to bypass the 24 hour rule. Needs approval from Releases label Aug 16, 2021
@electron-cation electron-cation bot removed the new-pr 🌱 PR opened in the last 24 hours label Aug 16, 2021
@MarshallOfSound MarshallOfSound merged commit 7cdd132 into main Aug 17, 2021
@MarshallOfSound MarshallOfSound deleted the fix-view-nullptr branch August 17, 2021 06:29
@release-clerk
Copy link

release-clerk bot commented Aug 17, 2021

Release Notes Persisted

Fixed rare crash in UpdateDraggableRegions

@trop
Copy link
Contributor

trop bot commented Aug 17, 2021

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

@trop
Copy link
Contributor

trop bot commented Aug 17, 2021

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

@trop trop bot removed the target/13-x-y label Aug 17, 2021
@trop
Copy link
Contributor

trop bot commented Aug 17, 2021

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

miniak pushed a commit that referenced this pull request Aug 18, 2021
* fix: handle nullish WebContentsView in UpdateDraggableRegions

* build: nogncheck on webcontentsimpl include
BlackHole1 pushed a commit to BlackHole1/electron that referenced this pull request Aug 30, 2021
…on#30556)

* fix: handle nullish WebContentsView in UpdateDraggableRegions

* build: nogncheck on webcontentsimpl include
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
fast-track 🚅 Indicates that this PR is intended to bypass the 24 hour rule. Needs approval from Releases semver/none
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants