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:
parent
c3ea4f8efe
commit
5a2ebefa00
1 changed files with 2 additions and 2 deletions
|
|
@ -1139,11 +1139,11 @@ struct DLLHandle
|
|||
#else
|
||||
if (bundleRef != nullptr)
|
||||
{
|
||||
releaseFactory();
|
||||
|
||||
if (ExitModuleFn exitFn = (ExitModuleFn) getFunction ("bundleExit"))
|
||||
exitFn();
|
||||
|
||||
releaseFactory();
|
||||
|
||||
CFRelease (bundleRef);
|
||||
bundleRef = nullptr;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue