13
0

delete monitoring section when removed

Among other things, this makes sure the detached window is removed.
This commit is contained in:
Robin Gareus 2015-12-21 15:46:03 +01:00
parent 990cbf3f40
commit 0794329ac1

View File

@ -2053,6 +2053,8 @@ Mixer_UI::monitor_section_going_away ()
monitor_section_detached ();
out_packer.remove (_monitor_section->tearoff());
_monitor_section->set_session (0);
delete _monitor_section;
_monitor_section = 0;
}
}