Closed guruofquality closed 9 years ago
I should add as a comment, that the automatic allocation should not really be occurring until there is a positive connection between two actual blocks. We do not want to cause an automatic connection when connecting a port within a hierarchy, where that hierarchy port is not externally connected yet.
This adds automatic deallocation: https://github.com/pothosware/pothos/commit/dae8bf80dff9b57262963fa554ddec615e6f9923
However the comment above is still a relevant issue. Lets consider solving that with the functional markup, because that same issue will crop up about connecting only actual ports based on markup through hierarchies... https://github.com/pothosware/pothos-library/issues/43
Otherwise, a reconfiguration of the topology could fail when a port is disconnected that expected data.