stream: fix readable state awaitDrain increase in recursion

PR-URL: https://github.com/nodejs/node/pull/27572
Backport-PR-URL: https://github.com/nodejs/node/pull/33056
Reviewed-By: Anna Henningsen <anna@addaleax.net>
This commit is contained in:
ran authored and Michaël Zasso committed 2020-04-28 15:56:31 +02:00
1 parent 3637a061a8
commit c8b4ab0978
6 files changed
+101 -39

No files matched your search

-1
View File
@@ -355,7 +355,6 @@ class TestWriter extends EE {
assert.strictEqual(v, null);
const w = new R();
w.write = function(buffer) {
written = true;
assert.strictEqual(ended, false);