I have component1 that has another component2 as a published property.
In the IDE:
I set this property of component1 so that it links (points to) component2.
So far so good.
Now, when I delete component2 the property in component1 still points to component2 and causes serious problems with the IDE reporting memory access violations.
Do I need to clear the property in component1 that points to (the now deleted) component2.
And if so how do I do that, do I need component2 to have knowledge of component1?