Notifications should emit close on close, not eventual GC

This commit is contained in:
Matt Crocker 2017-10-23 22:37:03 -07:00
parent e2d5aaf0f3
commit ca8f45a501
2 changed files with 2 additions and 2 deletions

View file

@ -169,10 +169,10 @@ void Notification::NotificationDisplayed() {
}
void Notification::NotificationDestroyed() {
Emit("close");
}
void Notification::NotificationClosed() {
Emit("close");
}
// Showing notifications

View file

@ -74,7 +74,7 @@ Returns:
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.
#### Event: 'reply' _macOS_