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:
parent
b1230586f8
commit
8dd71b6f1d
1 changed files with 1 additions and 1 deletions
|
@ -60,7 +60,7 @@ class FsWatcher {
|
|||
}
|
||||
|
||||
close() {
|
||||
core.close(this.rid);
|
||||
core.close(this.#rid);
|
||||
}
|
||||
|
||||
[SymbolAsyncIterator]() {
|
||||
|
|
Loading…
Reference in a new issue