mirror of
https://github.com/danbulant/discord.js
synced 2026-05-30 04:41:11 +00:00
chore(StreamDispatcher): remove end event
use finish event instead
This commit is contained in:
parent
9cb306c823
commit
653784b564
1 changed files with 0 additions and 2 deletions
|
|
@ -68,8 +68,6 @@ class StreamDispatcher extends Writable {
|
|||
|
||||
this.on('finish', () => {
|
||||
this._cleanup();
|
||||
// Still emitting end for backwards compatibility, probably remove it in the future!
|
||||
this.emit('end');
|
||||
this._setSpeaking(0);
|
||||
});
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue