Closed TobiasGrothmann closed 8 months ago
Hi there,
I have a little bit of a special use-case and I don't know very much about loading dynamic libraries at runtime.
I am trying to:
dylib
Now comes the part that doesn't work:
The problem is, that I still somehow get the old function and get the old return value from it. How can I force it to unload and reload the library?
Working on MacOS libloading = "0.8.1"
This is a platform behaviour libloading can do nothing about. Please refer to the list of closed issues, for example https://github.com/nagisa/rust_libloading/issues/59.
Hi there,
I have a little bit of a special use-case and I don't know very much about loading dynamic libraries at runtime.
I am trying to:
dylib
at runtime -> worksNow comes the part that doesn't work:
dylib
-> worksThe problem is, that I still somehow get the old function and get the old return value from it. How can I force it to unload and reload the library?
Working on MacOS libloading = "0.8.1"