fix crash on session unload

This commit is contained in:
Robin Gareus 2013-07-09 16:27:33 +02:00
parent 0f1f7ca4fd
commit 93713d3aca
1 changed files with 1 additions and 0 deletions

View File

@ -267,6 +267,7 @@ void
MeterStrip::set_session (Session* s)
{
SessionHandlePtr::set_session (s);
if (!s) return;
s->config.ParameterChanged.connect (*this, invalidator (*this), ui_bind (&MeterStrip::parameter_changed, this, _1), gui_context());
update_button_box();
update_name_box();