mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-10 08:33:30 +01:00
Fix closing bug
This commit is contained in:
@@ -32,7 +32,7 @@ class AudioPlayer extends EventEmitter {
|
||||
timestamp: 0,
|
||||
};
|
||||
|
||||
this.voiceConnection.once('closing', () => this.destroyCurrentStream());
|
||||
this.voiceConnection.once('closing', () => this.destroy());
|
||||
}
|
||||
|
||||
destroy() {
|
||||
|
||||
Reference in New Issue
Block a user