mirror of
https://github.com/openharmony/third_party_rust_libloading.git
synced 2026-07-21 00:26:36 -04:00
86b5095f7565f21efd1c1d2149ae0585f5439ce5
self in close
Otherwise it leads to a double-free, once in `close` and another time in `drop`. Curiously this was only a bug on Windows, and Unix code was fine. Not sure how this happened.
libloading
Safer bindings around system dynamic library loading primitives. The most important safety
guarantee by this library is prevention of dangling-Symbols that may occur after a Library is
unloaded.
Using this library allows loading dynamic libraries (also known as shared libraries) as well as use functions and static variables these libraries contain.
libloading is available to use under ISC (MIT-like) license.
Description
Languages
Rust
100%