summaryrefslogtreecommitdiff
path: root/ext/http/01_http.js
diff options
context:
space:
mode:
authorKenta Moriuchi <moriken@kimamass.com>2022-12-20 11:37:50 +0900
committerGitHub <noreply@github.com>2022-12-20 03:37:50 +0100
commit948f85216a15e4ef489af21bb532a9b201b0364c (patch)
tree35c2bbfa021cf9a4190ab803ed091c5547bfe9f4 /ext/http/01_http.js
parent2ac575abfb75dc4533306c80240cb1beeb816b9b (diff)
chore: Update dlint (#17031)
Introduces `SafeSetIterator` and `SafeMapIterator` to primordials
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);
}