From 8c90f08cf40cecffe9d1f0038d5866c17e17845a Mon Sep 17 00:00:00 2001 From: ed Date: Mon, 3 Sep 2018 11:27:34 +0100 Subject: [PATCH] Projucer: Re-scan module paths in handleAsyncUpdate() when the message loop has started to fix an assertion in File::getLinkedTarget() on Windows --- extras/Projucer/Source/Application/jucer_Application.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/extras/Projucer/Source/Application/jucer_Application.cpp b/extras/Projucer/Source/Application/jucer_Application.cpp index b4276acaae..67a157659a 100644 --- a/extras/Projucer/Source/Application/jucer_Application.cpp +++ b/extras/Projucer/Source/Application/jucer_Application.cpp @@ -136,9 +136,6 @@ void ProjucerApplication::initialiseBasics() ImageCache::setCacheTimeout (30 * 1000); icons.reset (new Icons()); tooltipWindow.setMillisecondsBeforeTipAppears (1200); - - rescanJUCEPathModules(); - rescanUserPathModules(); } bool ProjucerApplication::initialiseLogger (const char* filePrefix) @@ -165,6 +162,9 @@ void ProjucerApplication::handleAsyncUpdate() if (licenseController != nullptr) licenseController->startWebviewIfNeeded(); + rescanJUCEPathModules(); + rescanUserPathModules(); + #if JUCE_MAC PopupMenu extraAppleMenuItems; createExtraAppleMenuItems (extraAppleMenuItems);