mirror of
https://github.com/Ardour/ardour.git
synced 2026-01-09 15:15:41 +01:00
make valgrind output a bit more readable.
This commit is contained in:
parent
bfcd96533c
commit
5dd5bb7830
2 changed files with 17 additions and 0 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue