fix(SmartDuplex): Fix stream termination when reading from a web readable stream
This commit is contained in:
@@ -68,7 +68,7 @@ export class SmartDuplex<TInput = any, TOutput = any> extends Duplex {
|
||||
}
|
||||
reader.releaseLock();
|
||||
if (done) {
|
||||
smartDuplex.end();
|
||||
smartDuplex.push(null);
|
||||
}
|
||||
},
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user