Use weak_ptr for IOs in the bundle list to avoid holding onto them when a route is...
[ardour.git] / gtk2_ardour / port_group.h
index 3ae1df697d4f0928e5b9e6a48ba553345a4e85ee..f0bb1c4c58ef0c57f62393042a43297555992009 100644 (file)
@@ -75,7 +75,7 @@ public:
            boost::shared_ptr<ARDOUR::Bundle> bundle;
            /** IO whose ports are in the bundle, or 0.  This is so that we can do things like adding
                ports to the IO from matrix editor menus. */
-           boost::shared_ptr<ARDOUR::IO> io; 
+           boost::weak_ptr<ARDOUR::IO> io; 
            Gdk::Color colour;
            bool has_colour;
            PBD::ScopedConnection changed_connection;