Don't look for "AudacityModule" in plug in modules.

It isn't in these modules, it may slow start up, it is not correct to do it for plug-ins that are disabled.
This commit is contained in:
James Crook 2020-03-13 17:39:29 +00:00
parent 279e96072b
commit 3fcde5d00f

View File

@ -363,6 +363,9 @@ bool ModuleManager::DiscoverProviders()
{
InitializeBuiltins();
// The commented out code loads modules whether or not they are enabled.
// none of our modules is a 'provider' of effects, so this code commented out.
#if 0
FilePaths provList;
FilePaths pathList;
@ -400,6 +403,7 @@ bool ModuleManager::DiscoverProviders()
module->AutoRegisterPlugins(pm);
}
}
#endif
return true;
}