13
0

Session should not be accessed when not there.

This commit is contained in:
Len Ovens 2019-11-06 08:27:21 -08:00
parent f61f938503
commit 7dd7488872

View File

@ -390,14 +390,8 @@ Mixer_UI::~Mixer_UI ()
{
monitor_section_detached ();
StripableList fb;
_session->get_stripables (fb, PresentationInfo::FoldbackBus);
if (fb.size()) {
if (foldback_strip) {
delete foldback_strip;
foldback_strip = 0;
}
}
delete foldback_strip;
foldback_strip = 0;
delete _plugin_selector;
delete track_menu;
}