1
0
mirror of https://github.com/arduino/Arduino.git synced 2025-01-05 20:46:08 +01:00
Arduino/app/test/cc
Ricardo JL Rufino b914070c90 Avoid usueless double calls to rescanLibraries()
Previously rescanLibraries() was automatically called internally in
setLibrariesFolder(). This lead to double calls to rescanLibraries()
when setLibrariesFolder() was used in combination with an explicit
call to rescanLibraries().

This commit adds a new method setLibrariesFoldersAndRescan(..) and
removes the internal call to rescanLibraries() from setLibrariesFolder().

The existing setLibrariesFolder()+rescanLibraries() combos have been
replaced with setLibrariesFoldersAndRescan().

Fix #10228
2020-05-25 17:09:20 +02:00
..
arduino Avoid usueless double calls to rescanLibraries() 2020-05-25 17:09:20 +02:00