make valgrind output a bit more readable.
This commit is contained in:
@@ -569,6 +569,15 @@ ARDOUR_UI::~ARDOUR_UI ()
|
||||
}
|
||||
|
||||
stop_video_server();
|
||||
|
||||
if (getenv ("ARDOUR_RUNNING_UNDER_VALGRIND")) {
|
||||
// don't bother at 'real' exit. the OS cleans up for us.
|
||||
delete big_clock;
|
||||
delete primary_clock;
|
||||
delete secondary_clock;
|
||||
delete _process_thread;
|
||||
delete gui_object_state;
|
||||
}
|
||||
}
|
||||
|
||||
void
|
||||
|
||||
@@ -184,6 +184,14 @@ PluginManager::PluginManager ()
|
||||
|
||||
PluginManager::~PluginManager()
|
||||
{
|
||||
if (getenv ("ARDOUR_RUNNING_UNDER_VALGRIND")) {
|
||||
// don't bother, just exit quickly.
|
||||
delete _windows_vst_plugin_info;
|
||||
delete _lxvst_plugin_info;
|
||||
delete _ladspa_plugin_info;
|
||||
delete _lv2_plugin_info;
|
||||
delete _au_plugin_info;
|
||||
}
|
||||
}
|
||||
|
||||
void
|
||||
|
||||
Reference in New Issue
Block a user