From 170380fda9ce1f675db521b59c817e1d37963c3c Mon Sep 17 00:00:00 2001 From: Robin Gareus Date: Thu, 17 Nov 2016 14:06:03 +0100 Subject: [PATCH] Add runtime option to disable MacVST --- libs/ardour/plugin_manager.cc | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/libs/ardour/plugin_manager.cc b/libs/ardour/plugin_manager.cc index 3e1074111c..2e6b9912b8 100644 --- a/libs/ardour/plugin_manager.cc +++ b/libs/ardour/plugin_manager.cc @@ -302,6 +302,10 @@ PluginManager::refresh (bool cache_only) BootMessage (_("Discovering Mac VST Plugins")); } mac_vst_refresh (cache_only); + } else if (_mac_vst_plugin_info) { + _mac_vst_plugin_info->clear (); + } else { + _mac_vst_plugin_info = new ARDOUR::PluginInfoList(); } #endif //Native Mac VST SUPPORT