diff --git a/src/client/voice/dispatcher/StreamDispatcher.js b/src/client/voice/dispatcher/StreamDispatcher.js index f2c2ab0fb..4b6a5f860 100644 --- a/src/client/voice/dispatcher/StreamDispatcher.js +++ b/src/client/voice/dispatcher/StreamDispatcher.js @@ -199,7 +199,10 @@ class StreamDispatcher extends Writable { } _step(done) { - this._writeCallback = done; + this._writeCallback = () => { + this._writeCallback = null; + done(); + }; if (this.pausedSince) return; if (!this.streams.broadcast) { const next = FRAME_LENGTH + (this.count * FRAME_LENGTH) - (Date.now() - this.startTime - this.pausedTime);