fix: Notification crash in before-quit (#21709)
This commit is contained in:
parent
bd923838c1
commit
f5e202a898
1 changed files with 1 additions and 0 deletions
|
@ -205,6 +205,7 @@ void Notification::NotificationClosed() {
|
|||
void Notification::Close() {
|
||||
if (notification_) {
|
||||
notification_->Dismiss();
|
||||
notification_->set_delegate(nullptr);
|
||||
notification_.reset();
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue