diff options
| author | Asher Gomez <ashersaupingomez@gmail.com> | 2024-01-24 10:27:29 +1100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-01-24 00:27:29 +0100 |
| commit | 947ce41e99637dae4cf46126b8bb2d4107fb9913 (patch) | |
| tree | 094cdca89b38d358bb801702b4caf5dcb6374c80 /test_ffi/tests/thread_safe_test.js | |
| parent | 4eedac3604dad9f366d28868077eb02eddc22661 (diff) | |
feat: deprecate `Deno.resources()` (#22059)
Most uses of `Deno.resources()` within tests, as they previously checked
for leaked resources. This is not needed as the test runner does this
automatically. Other internal uses of this API have been replaced with
the internal `Deno[Deno.internal].core.resources()`.
Diffstat (limited to 'test_ffi/tests/thread_safe_test.js')
| -rw-r--r-- | test_ffi/tests/thread_safe_test.js | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/test_ffi/tests/thread_safe_test.js b/test_ffi/tests/thread_safe_test.js index b983fd48d..fffa61a04 100644 --- a/test_ffi/tests/thread_safe_test.js +++ b/test_ffi/tests/thread_safe_test.js @@ -9,8 +9,6 @@ const [libPrefix, libSuffix] = { }[Deno.build.os]; const libPath = `${targetDir}/${libPrefix}test_ffi.${libSuffix}`; -const resourcesPre = Deno.resources(); - const dylib = Deno.dlopen(libPath, { store_function: { parameters: ["function"], |
