This commit is contained in:
Amish Shah
2016-08-24 22:26:27 +01:00
parent 8683f45816
commit 253789f398
7 changed files with 26 additions and 9 deletions

View File

@@ -94,7 +94,9 @@ class VoiceConnection extends EventEmitter {
}
_shutdown(e) {
console.log('being shut down! D:');
if (!this.ready) {
return;
}
this.ready = false;
this.websocket._shutdown();
this.player._shutdown();