mirror of
https://github.com/danbulant/discord.js
synced 2026-05-25 13:02:38 +00:00
Inline a line
This commit is contained in:
parent
8984bf332c
commit
961346dcaa
1 changed files with 1 additions and 3 deletions
|
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue