From d54ef0eea4dcdf5c199ab8b6bd3c3c96118f04f4 Mon Sep 17 00:00:00 2001 From: SpaceEEC Date: Wed, 12 Apr 2017 22:06:05 +0200 Subject: [PATCH] fix (#1375) --- src/client/voice/player/AudioPlayer.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/client/voice/player/AudioPlayer.js b/src/client/voice/player/AudioPlayer.js index 1a934d0e8..8a919825e 100644 --- a/src/client/voice/player/AudioPlayer.js +++ b/src/client/voice/player/AudioPlayer.js @@ -44,7 +44,7 @@ class AudioPlayer extends EventEmitter { timestamp: 0, pausedTime: 0, }; - this.voiceConnection.once('closing', () => this.destroyAllStreams()); + this.voiceConnection.once('closing', () => this.destroyCurrentStream()); } /**