Hi ygrabit,
REAPER does call bundleExit / ExitDLL / ModuleExit after the last instance of a given DLL has been unloaded. Do you have an example case where you think this is not happening?
... for completeness: on Windows, there is a user preference to fully unload VSTs, in Options > Preferences > Plug-Ins > VST, and additionally there is an action the user can call as well. On Mac, VSTs are fully unloaded when REAPER exits. In call cases the exit functions are called before the library is actually unloaded, as far as I can tell.
Last edited by schwa; 03-03-2021 at 04:58 AM.
|