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

This commit is contained in:
trop[bot]
2020-01-10 09:08:24 -08:00
committed by Shelley Vohr
parent aca96553fc
commit fa7326af64

View File

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