Every story and comment from the Hacker News API, in a layout borrowed from 2001.
A comment on On the impossibility of composing finalizers and FFI. Parent comment
> An existing finalizer can be removed by setting a nil finalizer, e.g. right before explicitly deleting a resource:
ffi.C.free(ffi.gc(p, nil)) -- Manually free the memory.
There are no comments on this comment yet.
> An existing finalizer can be removed by setting a nil finalizer, e.g. right before explicitly deleting a resource:
https://luajit.org/ext_ffi_api.html#ffi_gc