diff --git a/src/client/voice/dispatcher/BaseDispatcher.js b/src/client/voice/dispatcher/BaseDispatcher.js index 9eca649..cdf53a8 100644 --- a/src/client/voice/dispatcher/BaseDispatcher.js +++ b/src/client/voice/dispatcher/BaseDispatcher.js @@ -145,6 +145,7 @@ class BaseDispatcher extends Writable { _cleanup() { if (this.player.dispatcher === this) this.player.dispatcher = null; + if (this.player.videoDispatcher === this) this.player.videoDispatcher = null; const { streams } = this; if (streams.opus) streams.opus.destroy(); if (streams.ffmpeg?.process) {