1
0
Fork 0
mirror of https://github.com/juce-framework/JUCE.git synced 2026-02-01 03:10:06 +00:00

Fixed a VST3 DLL shutdown problem on Windows

This commit is contained in:
jules 2017-05-10 16:37:59 +01:00
parent 6d54057c7f
commit 847b37bf09

View file

@ -1124,10 +1124,11 @@ struct DLLHandle
typedef bool (PLUGIN_API *ExitModuleFn) ();
#if JUCE_WINDOWS
releaseFactory();
if (ExitModuleFn exitFn = (ExitModuleFn) getFunction ("ExitDll"))
exitFn();
releaseFactory();
library.close();
#else