Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TransformStream cleanup using "Transformer.cancel" #1283

Merged
merged 15 commits into from
Sep 30, 2023
Prev Previous commit
Next Next commit
Lint
  • Loading branch information
lucacasonato committed Jul 17, 2023
commit 9c8ad53a95f78bace11a4bce978b217c14b72c5b
Original file line number Diff line number Diff line change
Expand Up @@ -286,7 +286,7 @@ function TransformStreamDefaultSinkCloseAlgorithm(stream) {
rejectPromise(controller._finishPromise, readable._storedError);
} else {
ReadableStreamDefaultControllerClose(readable._controller);
resolvePromise(controller._finishPromise);
resolvePromise(controller._finishPromise);
}
}, r => {
ReadableStreamDefaultControllerError(readable._controller, r);
Expand Down
Loading