This commit is contained in:
SpaceEEC
2017-04-12 22:06:05 +02:00
committed by Crawl
parent dce8e83465
commit d54ef0eea4

View File

@@ -44,7 +44,7 @@ class AudioPlayer extends EventEmitter {
timestamp: 0,
pausedTime: 0,
};
this.voiceConnection.once('closing', () => this.destroyAllStreams());
this.voiceConnection.once('closing', () => this.destroyCurrentStream());
}
/**