mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-17 03:53:29 +01:00
Inline a line
This commit is contained in:
@@ -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);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user