Modified version of Hans' patch for mantis 1985. Also remove unused port_connections...
[ardour.git] / libs / ardour / session_butler.cc
index 1c31bc2e26df53db5157d21336ce8cba15c36c42..59fe9e29a8b1f8c06cfee8d1f292e6d72e606deb 100644 (file)
@@ -266,7 +266,7 @@ Session::butler_thread_work ()
 
                        /* don't read inactive tracks */
 
-                       IO* io = ds->io();
+                       boost::shared_ptr<IO> io = ds->io();
                        
                        if (io && !io->active()) {
                                continue;