Hello, when trying to load a plugin using this code:
OwnedArray<PluginDescription> pluginDescriptions;
KnownPluginList pluginList;
AudioPluginFormatManager pluginFormatManager;
pluginFormatManager.addDefaultFormats();
for (int i = pluginFormatManager.getNumFormats(); --i >= 0;)
{
pluginList.scanAndAddFile (String (path),
true,
pluginDescriptions,
*pluginFormatManager.getFormat(i));
}
I get:
***** Leaked objects detected: 1 instance(s) of class MessageManager**
JUCE Assertion failure in juce_LeakedObjectDetector.h:90
Does someone know what can be the problem? Thanks!