mirror of
https://github.com/danbulant/discord.js
synced 2026-06-17 21:51:20 +00:00
Fix closing bug
This commit is contained in:
parent
387d96bd6b
commit
cc4aa75a71
1 changed files with 1 additions and 1 deletions
|
|
@ -32,7 +32,7 @@ class AudioPlayer extends EventEmitter {
|
|||
timestamp: 0,
|
||||
};
|
||||
|
||||
this.voiceConnection.once('closing', () => this.destroyCurrentStream());
|
||||
this.voiceConnection.once('closing', () => this.destroy());
|
||||
}
|
||||
|
||||
destroy() {
|
||||
|
|
|
|||
Loading…
Reference in a new issue