Skip to content

Commit 7d27c43

Browse files
committed
Launch DiscoveryManager after populating indexes
1 parent 9abf25d commit 7d27c43

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

arduino-core/src/processing/app/BaseNoGui.java

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -605,9 +605,6 @@ static public void initLogger() {
605605
}
606606

607607
static public void initPackages() throws Exception {
608-
609-
discoveryManager = new DiscoveryManager();
610-
611608
indexer = new ContributionsIndexer(getSettingsFolder(), getHardwareFolder(), getPlatform(),
612609
new GPGDetachedSignatureVerifier());
613610

@@ -635,6 +632,8 @@ static public void initPackages() throws Exception {
635632
File librariesIndexFile = librariesIndexer.getIndexFile();
636633
FileUtils.deleteIfExists(librariesIndexFile);
637634
}
635+
636+
discoveryManager = new DiscoveryManager();
638637
}
639638

640639
static protected void initPlatform() {

0 commit comments

Comments
 (0)