There was an error while loading. Please reload this page.
1 parent 0564c5c commit 4009986Copy full SHA for 4009986
1 file changed
src/client/voice/dispatcher/StreamDispatcher.js
@@ -117,7 +117,7 @@ class StreamDispatcher extends Writable {
117
if (this.player.dispatcher === this) this.player.dispatcher = null;
118
const { streams } = this;
119
if (streams.broadcast) streams.broadcast.dispatchers.delete(this);
120
- if (streams.opus) streams.opus.unpipe(this);
+ if (streams.opus) streams.opus.destroy();
121
if (streams.ffmpeg) streams.ffmpeg.destroy();
122
super._destroy(err, cb);
123
}
0 commit comments