File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1010 "check:mod" : " deno check --unstable-ffi mod.ts" ,
1111 "check:ext" : " deno check --unstable-ffi ext/*.ts" ,
1212 "check:examples" : " deno check --unstable-ffi examples/*.ts" ,
13- "test" : " deno test -A test/test.ts && deno test -A --v8-flags=--expose-gc test/test_with_gc.ts" ,
13+ "test" : " deno test -A --unstable-ffi test/test.ts && deno test -A --v8-flags=--expose-gc test/test_with_gc.ts" ,
1414 "example:hello_python" : " deno run -A --unstable-ffi examples/hello_python.ts" ,
1515 "example:matplotlib" : " deno run -A --unstable-ffi examples/matplotlib.ts" ,
1616 "example:pip_import" : " deno run -A --unstable-ffi examples/pip_import.ts" ,
Original file line number Diff line number Diff line change @@ -6,7 +6,7 @@ import { cstr, SliceItemRegExp } from "./util.ts";
66const refregistry = new FinalizationRegistry ( py . Py_DecRef ) ;
77
88// FinalizationRegistry for auto-created callbacks
9- // Closes the callback when the PyObject holding it is GC'd (meaning Python released it)
9+ // Closes the callback when the PyObject holding it is GC'd
1010const callbackCleanupRegistry = new FinalizationRegistry (
1111 ( callback : Callback ) => {
1212 callback . destroy ( ) ;
You can’t perform that action at this time.
0 commit comments