This commit is contained in:
Henry Jameson 2026-09-01 11:51:54 +03:00
commit 5ea41244c1

View file

@ -108,6 +108,8 @@ export const useStreamingStore = defineStore('streaming', {
}
},
initSocket(initial) {
if (this.socket) throw new Error('Socket already exists!')
this.state = initial
? WSConnectionStatus.STARTING_INITIAL
: WSConnectionStatus.STARTING