mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-10 08:33:30 +01:00
Inline a line
This commit is contained in:
@@ -41,9 +41,7 @@ class VoiceConnectionPlayer extends EventEmitter {
|
||||
|
||||
_shutdown() {
|
||||
this.speaking = false;
|
||||
if (this.dispatcher) {
|
||||
this.dispatcher._triggerTerminalState('end', 'ended by parent player shutdown');
|
||||
}
|
||||
if (this.dispatcher) this.dispatcher._triggerTerminalState('end', 'ended by parent player shutdown');
|
||||
for (const stream of this.processMap.keys()) this.killStream(stream);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user