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:
parent
94ac07cd73
commit
c0bcba8d71
1 changed files with 3 additions and 0 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue