subscriptions leak
This commit is contained in:
parent
282ec82bf1
commit
7b27f337c6
1 changed files with 2 additions and 0 deletions
|
|
@ -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) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue