Mclose
Bun

method

ffi.Library.close

close(): void;

dlclose the library, unloading the symbols and freeing allocated memory.

Once called, the library is no longer usable.

Calling a function from a library that has been closed is undefined behavior.