Skip to content

Commit

Permalink
fix: Notification crash in before-quit (#21719)
Browse files Browse the repository at this point in the history
  • Loading branch information
trop[bot] authored and codebytere committed Jan 10, 2020
1 parent ec61041 commit c56e5ab
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 @@ -189,6 +189,7 @@ void Notification::NotificationClosed() {
void Notification::Close() {
if (notification_) {
notification_->Dismiss();
notification_->set_delegate(nullptr);
notification_.reset();
}
}
Expand Down

0 comments on commit c56e5ab

Please sign in to comment.