Notifications should emit close on close, not eventual GC
This commit is contained in:
parent
e2d5aaf0f3
commit
ca8f45a501
2 changed files with 2 additions and 2 deletions
|
@ -169,10 +169,10 @@ void Notification::NotificationDisplayed() {
|
||||||
}
|
}
|
||||||
|
|
||||||
void Notification::NotificationDestroyed() {
|
void Notification::NotificationDestroyed() {
|
||||||
Emit("close");
|
|
||||||
}
|
}
|
||||||
|
|
||||||
void Notification::NotificationClosed() {
|
void Notification::NotificationClosed() {
|
||||||
|
Emit("close");
|
||||||
}
|
}
|
||||||
|
|
||||||
// Showing notifications
|
// Showing notifications
|
||||||
|
|
|
@ -74,7 +74,7 @@ Returns:
|
||||||
|
|
||||||
Emitted when the notification is closed by manual intervention from the user.
|
Emitted when the notification is closed by manual intervention from the user.
|
||||||
|
|
||||||
This event is not guarunteed to be emitted in all cases where the notification
|
This event is not guaranteed to be emitted in all cases where the notification
|
||||||
is closed.
|
is closed.
|
||||||
|
|
||||||
#### Event: 'reply' _macOS_
|
#### Event: 'reply' _macOS_
|
||||||
|
|
Loading…
Reference in a new issue