Backport of "element: When removing a ghost pad also unset its target" into 1.16
Backport of !553 (merged) "element: When removing a ghost pad also unset its target".
Commits:
- d22813ef element: When removing a ghost pad also unset its target
Backport of !553 (merged) "element: When removing a ghost pad also unset its target".
Commits: