Skip to content

Commit

Permalink
fix: Notification crash in before-quit (#21709)
Browse files Browse the repository at this point in the history
  • Loading branch information
codebytere committed Jan 9, 2020
1 parent bd92383 commit f5e202a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions shell/browser/api/atom_api_notification.cc
Expand Up @@ -205,6 +205,7 @@ void Notification::NotificationClosed() {
void Notification::Close() {
if (notification_) {
notification_->Dismiss();
notification_->set_delegate(nullptr);
notification_.reset();
}
}
Expand Down

0 comments on commit f5e202a

Please sign in to comment.