13
0

tiny cleanup due to long comment in between.

This commit is contained in:
Robin Gareus 2015-03-01 19:12:10 +01:00
parent 0a6df4e521
commit 60388f975c

View File

@ -643,6 +643,7 @@ PluginManager::au_refresh (bool cache_only)
return;
}
delete _au_plugin_info;
_au_plugin_info = AUPluginInfo::discover();
// disable automatic scan in case we crash
Config->set_discover_audio_units (false);
@ -661,8 +662,6 @@ PluginManager::au_refresh (bool cache_only)
* the crash happens during realtime-run.
*/
_au_plugin_info = AUPluginInfo::discover();
// successful scan re-enabled automatic discovery
Config->set_discover_audio_units (true);
Config->save_state();