fix: reset the NSUserNotication handle on dismiss (#17796)
This commit is contained in:
parent
b7b9efa875
commit
9c3315c416
1 changed files with 2 additions and 0 deletions
|
@ -109,6 +109,8 @@ void CocoaNotification::Dismiss() {
|
||||||
NotificationDismissed();
|
NotificationDismissed();
|
||||||
|
|
||||||
this->LogAction("dismissed");
|
this->LogAction("dismissed");
|
||||||
|
|
||||||
|
notification_.reset(nil);
|
||||||
}
|
}
|
||||||
|
|
||||||
void CocoaNotification::NotificationDisplayed() {
|
void CocoaNotification::NotificationDisplayed() {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue