-
Notifications
You must be signed in to change notification settings - Fork 15.7k
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
chore: avoid crash while notification removal #43040
chore: avoid crash while notification removal #43040
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.
@cucbin could you please open a bug report for this, with a reproducible sample, and link it to this PR?
I opened a bug here: #43055 |
Release Notes Persisted
|
I have automatically backported this PR to "30-x-y", please check out #43059 |
I have automatically backported this PR to "32-x-y", please check out #43060 |
I have automatically backported this PR to "31-x-y", please check out #43061 |
Description of Change
Closes #43055
Recently, it was discovered that a crash occurs when erasing a notification point object in the
electron::NotificationPresenter::RemoveNotification
.Here, it should be checked and additional protection should be added to avoid it.
Checklist
npm test
passesRelease Notes
Notes: Fixes a potential crash when removing notifications on Windows