diff options
Diffstat (limited to 'libs')
-rw-r--r-- | libs/ardour/port_manager.cc | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/libs/ardour/port_manager.cc b/libs/ardour/port_manager.cc index ec8e3024ea..10c19a9c67 100644 --- a/libs/ardour/port_manager.cc +++ b/libs/ardour/port_manager.cc @@ -353,6 +353,12 @@ PortManager::register_output_port (DataType type, const string& portname, bool a int PortManager::unregister_port (boost::shared_ptr<Port> port) { + /* This is a little subtle. We do not call the backend's port + * unregistration code from here. That is left for the Port + * destructor. We are trying to drop references to the Port object + * here, so that its destructor will run and it will unregister itself. + */ + /* caller must hold process lock */ { |