Skip to content

Commit

Permalink
fix: reset the NSUserNotication handle on dismiss (#17820)
Browse files Browse the repository at this point in the history
  • Loading branch information
trop[bot] authored and MarshallOfSound committed Apr 16, 2019
1 parent f11ab9d commit 15315ea
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions brightray/browser/mac/cocoa_notification.mm
Original file line number Diff line number Diff line change
Expand Up @@ -115,6 +115,8 @@
NotificationDismissed();

this->LogAction("dismissed");

notification_.reset(nil);
}

void CocoaNotification::NotificationDisplayed() {
Expand Down

0 comments on commit 15315ea

Please sign in to comment.