1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-11-25 15:29:32 -05:00

fix: don't call .rid in Deno.FsWatcher.close() (#22090)

Otherwise, a deprecation warning will be printed.
This commit is contained in:
Asher Gomez 2024-01-25 10:05:22 +11:00 committed by GitHub
parent b1230586f8
commit 8dd71b6f1d
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -60,7 +60,7 @@ class FsWatcher {
}
close() {
core.close(this.rid);
core.close(this.#rid);
}
[SymbolAsyncIterator]() {