1
0
Fork 0
mirror of https://github.com/juce-framework/JUCE.git synced 2026-01-10 23:44:24 +00:00

Fixed a bug where the bundle exit function would be called before the VST3 factory is released

This commit is contained in:
hogliux 2016-11-11 15:44:54 +00:00
parent c3ea4f8efe
commit 5a2ebefa00

View file

@ -1139,11 +1139,11 @@ struct DLLHandle
#else
if (bundleRef != nullptr)
{
releaseFactory();
if (ExitModuleFn exitFn = (ExitModuleFn) getFunction ("bundleExit"))
exitFn();
releaseFactory();
CFRelease (bundleRef);
bundleRef = nullptr;
}