chore(StreamDispatcher): remove end event

use finish event instead
This commit is contained in:
Amish Shah
2020-02-26 20:00:48 +00:00
parent 9cb306c823
commit 653784b564

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