projects
/
ardour.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
0f1f7ca
)
fix crash on session unload
author
Robin Gareus
<robin@gareus.org>
Tue, 9 Jul 2013 14:27:33 +0000
(16:27 +0200)
committer
Robin Gareus
<robin@gareus.org>
Wed, 10 Jul 2013 13:27:16 +0000
(15:27 +0200)
gtk2_ardour/meter_strip.cc
patch
|
blob
|
history
diff --git
a/gtk2_ardour/meter_strip.cc
b/gtk2_ardour/meter_strip.cc
index 91b93ad8bb28da2fc4ed377c69e0a4e255fcc097..ff98652e1e3503f9a32e800c07eb880d31626f49 100644
(file)
--- a/
gtk2_ardour/meter_strip.cc
+++ b/
gtk2_ardour/meter_strip.cc
@@
-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();