13
0

add explanatory comment

This commit is contained in:
Paul Davis 2016-08-08 08:26:58 -04:00
parent 0d2ba3fe8e
commit fdf63ace6a

View File

@ -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 */
{