diff --git a/src/core/utils/listener.ts b/src/core/utils/listener.ts index 2cfea0b..ca5cd57 100644 --- a/src/core/utils/listener.ts +++ b/src/core/utils/listener.ts @@ -27,7 +27,9 @@ const subscriber = (listenerType: ListenerType, event: EventFunc) => { } if (listeners.has(event)) return; - listeners.add(event); + if (!isServer) { + listeners.add(event); + } return () => { listeners.delete(event); };