Skip to content

Commit ce9aa2d

Browse files
adjust (#1173)
1 parent ee1ef19 commit ce9aa2d

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

lib/notification_center/index.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -121,6 +121,7 @@ export class DefaultNotificationCenter implements NotificationCenter, Notificati
121121
const remover = this.removers.get(listenerId);
122122
if (remover) {
123123
remover();
124+
this.removers.delete(listenerId);
124125
return true;
125126
}
126127
return false

0 commit comments

Comments
 (0)