fix odd bug

This commit is contained in:
Amish Shah
2016-12-28 23:58:01 +00:00
parent e7824d6515
commit e64d9c6057

View File

@@ -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) {