mirror of
https://github.com/danbulant/discord.js
synced 2026-06-08 09:13:22 +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() {
|
_shutdown() {
|
||||||
this.speaking = false;
|
this.speaking = false;
|
||||||
if (this.dispatcher) {
|
if (this.dispatcher) this.dispatcher._triggerTerminalState('end', 'ended by parent player shutdown');
|
||||||
this.dispatcher._triggerTerminalState('end', 'ended by parent player shutdown');
|
|
||||||
}
|
|
||||||
for (const stream of this.processMap.keys()) this.killStream(stream);
|
for (const stream of this.processMap.keys()) this.killStream(stream);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue