summaryrefslogtreecommitdiff
path: root/ext/web/06_streams.js
diff options
context:
space:
mode:
Diffstat (limited to 'ext/web/06_streams.js')
-rw-r--r--ext/web/06_streams.js5
1 files changed, 3 insertions, 2 deletions
diff --git a/ext/web/06_streams.js b/ext/web/06_streams.js
index 06397265c..0b9e00483 100644
--- a/ext/web/06_streams.js
+++ b/ext/web/06_streams.js
@@ -35,7 +35,6 @@
ObjectPrototypeIsPrototypeOf,
ObjectSetPrototypeOf,
Promise,
- PromiseAll,
PromisePrototypeCatch,
PromisePrototypeThen,
PromiseReject,
@@ -43,6 +42,7 @@
queueMicrotask,
RangeError,
ReflectHas,
+ SafePromiseAll,
SharedArrayBuffer,
Symbol,
SymbolAsyncIterator,
@@ -2302,7 +2302,8 @@
});
}
shutdownWithAction(
- () => PromiseAll(ArrayPrototypeMap(actions, (action) => action())),
+ () =>
+ SafePromiseAll(ArrayPrototypeMap(actions, (action) => action())),
true,
error,
);