subscriptions leak

This commit is contained in:
Henry Jameson 2026-08-28 20:16:22 +03:00
commit 7b27f337c6

View file

@ -99,6 +99,8 @@ export const useStreamingStore = defineStore('streaming', {
this.subscribers.delete(subscriber)
if (stream) {
this.subscriptions.get(stream.name).delete(stream.argument)
} else {
this.globalSubscriptions.remove(subscriber)
}
if (stream && this.state === WSConnectionStatus.JOINED) {