library[Symbol.dispose]()


调用 library.close()。这允许 DynamicLibrary 实例与 using 声明一起使用,以便在封闭的作用域退出时自动清理。在已关闭的库上,此操作无效。

🌐 Calls library.close(). This allows DynamicLibrary instances to be used with the using declaration for automatic cleanup when the enclosing scope exits. It is a no-op on a library that has already been closed.