fix(ext/web): handle rid=0 in TextDecoder#decode
stream: options.stream,
});
} finally {
- if (!options.stream && this.#rid) {
+ if (!options.stream && this.#rid !== null) {
core.close(this.#rid);
this.#rid = null;
}
