From 64af49f6c3f65a9d66ce8cf1923641c005e9828a Mon Sep 17 00:00:00 2001 From: Paul Davis Date: Thu, 24 Oct 2019 21:06:20 -0600 Subject: non-GUI startup should only use plugin cache and not discover new ones --- libs/ardour/globals.cc | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) (limited to 'libs/ardour/globals.cc') diff --git a/libs/ardour/globals.cc b/libs/ardour/globals.cc index 05d170768d..0e0b1087bd 100644 --- a/libs/ardour/globals.cc +++ b/libs/ardour/globals.cc @@ -623,10 +623,15 @@ ARDOUR::init_post_engine (uint32_t start_cnt) if (start_cnt == 0) { - /* find plugins */ - if (!running_from_gui) { - ARDOUR::PluginManager::instance().refresh (false); + + /* find plugins, but only using the existing cache (i.e. do + * not discover new ones. GUIs are responsible for + * invoking this themselves after the engine is + * started, with whatever options they want. + */ + + ARDOUR::PluginManager::instance().refresh (true); } if ((node = Config->control_protocol_state()) != 0) { -- cgit v1.2.3