summaryrefslogtreecommitdiff
path: root/ext/http/01_http.js
diff options
context:
space:
mode:
Diffstat (limited to 'ext/http/01_http.js')
-rw-r--r--ext/http/01_http.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/http/01_http.js b/ext/http/01_http.js
index ab23cbec0..bd740b600 100644
--- a/ext/http/01_http.js
+++ b/ext/http/01_http.js
@@ -45,10 +45,10 @@
ArrayPrototypeSome,
Error,
ObjectPrototypeIsPrototypeOf,
+ SafeSetIterator,
Set,
SetPrototypeAdd,
SetPrototypeDelete,
- SetPrototypeValues,
StringPrototypeIncludes,
StringPrototypeToLowerCase,
StringPrototypeSplit,
@@ -153,7 +153,7 @@
if (!this.#closed) {
this.#closed = true;
core.close(this.#rid);
- for (const rid of SetPrototypeValues(this.managedResources)) {
+ for (const rid of new SafeSetIterator(this.managedResources)) {
SetPrototypeDelete(this.managedResources, rid);
core.close(rid);
}