mirror of
https://github.com/danbulant/discord.js
synced 2026-05-25 13:02:38 +00:00
fix odd bug
This commit is contained in:
parent
e7824d6515
commit
e64d9c6057
1 changed files with 1 additions and 0 deletions
|
|
@ -39,6 +39,7 @@ class AudioPlayer extends EventEmitter {
|
|||
const dispatcher = data.dispatcher;
|
||||
if (transcoder) transcoder.kill();
|
||||
if (dispatcher) dispatcher.destroy('end');
|
||||
this.streams.delete(stream);
|
||||
}
|
||||
|
||||
destroyAllStreams(except) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue