mirror of
https://github.com/danbulant/discord.js
synced 2026-06-08 01:01:30 +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;
|
const dispatcher = data.dispatcher;
|
||||||
if (transcoder) transcoder.kill();
|
if (transcoder) transcoder.kill();
|
||||||
if (dispatcher) dispatcher.destroy('end');
|
if (dispatcher) dispatcher.destroy('end');
|
||||||
|
this.streams.delete(stream);
|
||||||
}
|
}
|
||||||
|
|
||||||
destroyAllStreams(except) {
|
destroyAllStreams(except) {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue