Inline a line

This commit is contained in:
Schuyler Cebulskie
2016-09-12 13:04:09 -04:00
parent 8984bf332c
commit 961346dcaa

View File

@@ -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);
}