From 002f7f76e28d2188b7ade5680f0df0de3aa0702c Mon Sep 17 00:00:00 2001 From: Robin Gareus Date: Sun, 8 Aug 2021 15:23:17 +0200 Subject: [PATCH] PM: allow to cancel AU discovery, continue to scan --- libs/ardour/plugin_manager.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libs/ardour/plugin_manager.cc b/libs/ardour/plugin_manager.cc index 24eebaf777..7ceaa14185 100644 --- a/libs/ardour/plugin_manager.cc +++ b/libs/ardour/plugin_manager.cc @@ -1400,7 +1400,7 @@ PluginManager::au_refresh (bool cache_only) for (std::vector::const_iterator i = audesc.begin (); i != audesc.end (); ++i, ++n) { reset_scan_cancel_state (true); ARDOUR::PluginScanMessage (string_compose (_("AUv2 (%1 / %2)"), n, all_modules), i->to_s(), !cache_only && !cancelled()); - auv2_discover (*i, cache_only); + auv2_discover (*i, cache_only || cancelled ()); } for (PluginInfoList::iterator i = _au_plugin_info->begin(); i != _au_plugin_info->end(); ++i) {