Skip to content

Commit 66302a0

Browse files
committed
#7090 removeListener() => accessing the new symbol
1 parent 39417a4 commit 66302a0

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/core/Observable.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -315,7 +315,7 @@ class Observable extends Base {
315315
}
316316

317317
Object.entries(name).forEach(([key, value]) => {
318-
listeners = me.listeners[key] || [];
318+
listeners = me[eventMapSymbol][key] || [];
319319
i = 0;
320320
len = listeners.length;
321321

0 commit comments

Comments
 (0)