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: potential crash when setting vibrancy #30491

Closed
wants to merge 1 commit into from

Conversation

codebytere
Copy link
Member

Backport of #29677.

See that PR for details.

Notes: Fixes a potential crash when setting vibrancy on macOS.

Co-authored-by: Shelley Vohr <shelley.vohr@gmail.com>
@codebytere codebytere requested a review from a team August 11, 2021 08:57
@trop trop bot mentioned this pull request Aug 11, 2021
3 tasks
@electron-cation electron-cation bot added the new-pr 🌱 PR opened in the last 24 hours label Aug 11, 2021
@trop trop bot added 12-x-y backport This is a backport PR semver/patch backwards-compatible bug fixes labels Aug 11, 2021
@electron-cation electron-cation bot removed the new-pr 🌱 PR opened in the last 24 hours label Aug 11, 2021
@@ -1710,8 +1709,10 @@ void ViewDidMoveToSuperview(NSView* self, SEL _cmd) {
}
}

if (vibrancyType)
if (vibrancyType) {
vibrancy_type_ = type;
Copy link
Member

Choose a reason for hiding this comment

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

Build is failing.

@codebytere codebytere closed this Aug 16, 2021
@codebytere codebytere deleted the vibrancy-crash-12 branch August 16, 2021 09:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
12-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.

None yet

2 participants