fix: Notification crash in before-quit (#21709)

This commit is contained in:
Shelley Vohr
2020-01-09 09:42:20 -08:00
committed by GitHub
parent bd923838c1
commit f5e202a898

View File

@@ -205,6 +205,7 @@ void Notification::NotificationClosed() {
void Notification::Close() {
if (notification_) {
notification_->Dismiss();
notification_->set_delegate(nullptr);
notification_.reset();
}
}