mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-10 08:33:30 +01:00
cleanup(StreamDispatcher): remove old 'end' event
This commit is contained in:
@@ -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);
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user