1
0
Fork 0
mirror of https://github.com/juce-framework/JUCE.git synced 2026-01-19 01:04:20 +00:00

Projucer: Only update module list on change

This commit is contained in:
ed 2021-03-15 10:00:16 +00:00
parent 94ac07cd73
commit c0bcba8d71

View file

@ -185,6 +185,9 @@ private:
{
return std::make_unique<ModuleScannerJob> (paths, [this] (ModuleIDAndFolderList scannedModulesList)
{
if (scannedModulesList == modulesList)
return;
{
const ScopedLock swapLock (lock);
modulesList.swap (scannedModulesList);