Revert "Clear the plugin path cache when adding new directories" (#17785)
This reverts commit 5a57313dd7
.
This commit is contained in:
parent
5a57313dd7
commit
670536f685
1 changed files with 0 additions and 1 deletions
|
@ -219,7 +219,6 @@ class PluginLoader:
|
|||
if directory not in self._extra_dirs:
|
||||
# append the directory and invalidate the path cache
|
||||
self._extra_dirs.append(directory)
|
||||
self._plugin_path_cache.clear()
|
||||
self._paths = None
|
||||
|
||||
def find_plugin(self, name, mod_type=''):
|
||||
|
|
Loading…
Reference in a new issue