Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[v8][wasm] Avoid repeated streaming abortion
We see crashes that could be triggered e.g. by concurrent abortion of Wasm streaming by the client and via the network, or concurrent abortion and finishing the download. We do not have a reproducer yet, but not calling {Abort} or {Finish} multiple times might fix the issue and is a good convention anyway. To make the order of events easier to follow, this also converts a scope object to a function call to convert the exception to a streaming abort message. R=haraken@chromium.org (cherry picked from commit c8536db) Bug: 1399790, 1400066, 1406746 Change-Id: I90eaa51b59976b0d92893a706d626a9826937393 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4249278 Reviewed-by: Kentaro Hara <haraken@chromium.org> Commit-Queue: Clemens Backes <clemensb@chromium.org> Cr-Original-Commit-Position: refs/heads/main@{#1105507} Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4270991 Auto-Submit: Daniel Yip <danielyip@google.com> Commit-Queue: Rubber Stamper <rubber-stamper@appspot.gserviceaccount.com> Owners-Override: Daniel Yip <danielyip@google.com> Bot-Commit: Rubber Stamper <rubber-stamper@appspot.gserviceaccount.com> Cr-Commit-Position: refs/branch-heads/5481@{#1208} Cr-Branched-From: 130f3e4-refs/heads/main@{#1084008}
- Loading branch information
Showing
1 changed file
with
35 additions
and
33 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters