add DEBUG::Destruction output for Port

This commit is contained in:
Paul Davis 2019-02-04 11:20:49 -07:00
parent 8edd03e68b
commit dae7ea5382

View File

@ -89,6 +89,7 @@ Port::Port (std::string const & n, DataType t, PortFlags f)
/** Port destructor */
Port::~Port ()
{
DEBUG_TRACE (DEBUG::Destruction, string_compose ("destroying port @ %1 named %2\n", this, name()));
drop ();
}