mirror of
https://github.com/electron/electron.git
synced 2026-04-10 03:01:51 -04:00
fix: reset the NSUserNotication handle on dismiss (#17820)
This commit is contained in:
@@ -115,6 +115,8 @@ void CocoaNotification::Dismiss() {
|
||||
NotificationDismissed();
|
||||
|
||||
this->LogAction("dismissed");
|
||||
|
||||
notification_.reset(nil);
|
||||
}
|
||||
|
||||
void CocoaNotification::NotificationDisplayed() {
|
||||
|
||||
Reference in New Issue
Block a user