cleanup(StreamDispatcher): remove old 'end' event

This commit is contained in:
NotSugden
2020-02-26 18:42:25 +00:00
parent 9cb306c823
commit 6ef404c873

View File

@@ -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);
});