change return type on ARDOUR::cleanup() since nobody cares what it returns
This commit is contained in:
parent
c727d18b80
commit
f1b2674d9b
@ -60,7 +60,7 @@ namespace ARDOUR {
|
||||
*/
|
||||
bool init (bool with_vst, bool try_optimization, const char* localedir);
|
||||
void init_post_engine ();
|
||||
int cleanup ();
|
||||
void cleanup ();
|
||||
bool no_auto_connect ();
|
||||
void make_property_quarks ();
|
||||
|
||||
|
@ -354,9 +354,15 @@ ARDOUR::init_post_engine ()
|
||||
ARDOUR::PluginManager::instance().refresh ();
|
||||
}
|
||||
|
||||
int
|
||||
ARDOUR::cleanup ()
|
||||
void
|
||||
ARDOUR::cleanup ()
|
||||
{
|
||||
if (!libardour_initialized) {
|
||||
return;
|
||||
}
|
||||
|
||||
ARDOUR::AudioEngine::destroy ();
|
||||
|
||||
delete Library;
|
||||
lrdf_cleanup ();
|
||||
delete &ControlProtocolManager::instance();
|
||||
@ -368,7 +374,8 @@ ARDOUR::cleanup ()
|
||||
vstfx_exit();
|
||||
#endif
|
||||
PBD::cleanup ();
|
||||
return 0;
|
||||
|
||||
return;
|
||||
}
|
||||
|
||||
void
|
||||
|
Loading…
Reference in New Issue
Block a user