mirror of
https://github.com/denoland/deno.git
synced 2024-12-23 15:49:44 -05:00
fix(ext/web): handle rid=0 in TextDecoder#decode (#14894)
This commit is contained in:
parent
fa6274cffe
commit
870d200716
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue