projects
/
ardour.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0d2ba3f
)
add explanatory comment
author
Paul Davis
<paul@linuxaudiosystems.com>
Mon, 8 Aug 2016 12:26:58 +0000
(08:26 -0400)
committer
Paul Davis
<paul@linuxaudiosystems.com>
Mon, 8 Aug 2016 13:27:21 +0000
(09:27 -0400)
libs/ardour/port_manager.cc
patch
|
blob
|
history
diff --git
a/libs/ardour/port_manager.cc
b/libs/ardour/port_manager.cc
index ec8e3024eafd668fc9027ead4b44c6f0eba4e795..10c19a9c67547f4cd07aecbdec4f05185a06e50e 100644
(file)
--- 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 */
{