Drop UpdateMidnam shared_ptr reference when the plugin is removed
[ardour.git] / gtk2_ardour / midi_time_axis.h
index 9d8bea4e3c920599781c506128f7cf1c7c3df5fb..fe8a464875a91b33e55d0581b0bf3cce0bd79f5d 100644 (file)
@@ -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);