Skip to content

Commit

Permalink
fix: Notification crash in before-quit (#21720)
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 aca9655 commit fa7326a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions shell/browser/api/atom_api_notification.cc
Original file line number Diff line number Diff line change
Expand Up @@ -206,6 +206,7 @@ void Notification::NotificationClosed() {
void Notification::Close() {
if (notification_) {
notification_->Dismiss();
notification_->set_delegate(nullptr);
notification_.reset();
}
}
Expand Down

0 comments on commit fa7326a

Please sign in to comment.