diff options
Diffstat (limited to 'ext/web')
-rw-r--r-- | ext/web/08_text_encoding.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/web/08_text_encoding.js b/ext/web/08_text_encoding.js index 86ac5ab3c..282618da3 100644 --- a/ext/web/08_text_encoding.js +++ b/ext/web/08_text_encoding.js @@ -143,7 +143,7 @@ stream: options.stream, }); } finally { - if (!options.stream && this.#rid) { + if (!options.stream && this.#rid !== null) { core.close(this.#rid); this.#rid = null; } |