diff --git a/src/client/voice/dispatcher/StreamDispatcher.js b/src/client/voice/dispatcher/StreamDispatcher.js index 2dc3a6aa6..174b9012f 100644 --- a/src/client/voice/dispatcher/StreamDispatcher.js +++ b/src/client/voice/dispatcher/StreamDispatcher.js @@ -102,6 +102,7 @@ class StreamDispatcher extends Writable { } destroy() { + if (this.player.dispatcher !== this) return; const streams = this.player.streams; if (streams.opus) streams.opus.unpipe(this); if (streams.ffmpeg) streams.ffmpeg.destroy();