diff options
author | Robin Gareus <robin@gareus.org> | 2016-10-30 17:35:21 +0100 |
---|---|---|
committer | Robin Gareus <robin@gareus.org> | 2016-10-30 17:39:55 +0100 |
commit | 9773cfa92645f8caf8aa524a5e7f45bb4d4d1b24 (patch) | |
tree | 133e6016d1e29e91ab0a80a9dc1a1952397188e0 /gtk2_ardour/midi_time_axis.h | |
parent | 997b48baf72c87281ae4dc535c9b3994810d8e72 (diff) |
Drop UpdateMidnam shared_ptr reference when the plugin is removed
Diffstat (limited to 'gtk2_ardour/midi_time_axis.h')
-rw-r--r-- | gtk2_ardour/midi_time_axis.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/gtk2_ardour/midi_time_axis.h b/gtk2_ardour/midi_time_axis.h index 9d8bea4e3c..fe8a464875 100644 --- a/gtk2_ardour/midi_time_axis.h +++ b/gtk2_ardour/midi_time_axis.h @@ -120,7 +120,8 @@ private: void setup_midnam_patches (); void update_patch_selector (); - PBD::ScopedConnection midnam_connection; + void drop_instrument_ref (); + PBD::ScopedConnectionList midnam_connection; void model_changed(const std::string& model); void custom_device_mode_changed(const std::string& mode); |