diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2016-08-08 08:26:58 -0400 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2016-08-08 09:27:21 -0400 |
commit | fdf63ace6a655f772a46e73719de14f9dd6fb940 (patch) | |
tree | 8651fe68b6a3f4a179658e257580572e4d06fe99 /libs/ardour/port_manager.cc | |
parent | 0d2ba3fe8e402ca53f5184de83f4fda90c3af99d (diff) |
add explanatory comment
Diffstat (limited to 'libs/ardour/port_manager.cc')
-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 */ { |