Revert to old
This commit is contained in:
parent
1227ce7095
commit
bd178ce2f0
@ -60,8 +60,8 @@ class Demux extends Writable {
|
||||
(this.streamsByKey[destKey] as any).pipe(this.destination);
|
||||
}
|
||||
}
|
||||
const writeRes = this.streamsByKey[destKey].write(chunk, encoding);
|
||||
if (!writeRes) {
|
||||
|
||||
if (!this.streamsByKey[destKey].write(chunk, encoding)) {
|
||||
this.streamsByKey[destKey].once("drain", () => {
|
||||
cb();
|
||||
});
|
||||
|
Loading…
Reference in New Issue
Block a user