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

This commit is contained in:
trop[bot]
2020-01-10 09:07:50 -08:00
committed by Shelley Vohr
parent 7dd6a185db
commit b142266292

View File

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