Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nodejs/node.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'deps/v8/src/wasm/streaming-decoder.cc')
-rw-r--r--deps/v8/src/wasm/streaming-decoder.cc5
1 files changed, 4 insertions, 1 deletions
diff --git a/deps/v8/src/wasm/streaming-decoder.cc b/deps/v8/src/wasm/streaming-decoder.cc
index 07b425aad05..15ced2316ba 100644
--- a/deps/v8/src/wasm/streaming-decoder.cc
+++ b/deps/v8/src/wasm/streaming-decoder.cc
@@ -83,7 +83,10 @@ void StreamingDecoder::Finish() {
void StreamingDecoder::Abort() {
TRACE_STREAMING("Abort\n");
- if (ok()) processor_->OnAbort();
+ if (ok()) {
+ ok_ = false;
+ processor_->OnAbort();
+ }
}
// An abstract class to share code among the states which decode VarInts. This