In this instance, "get rid of" doesn't mean dispose and release resources, it just means, "not see" and avoid some possible future problems with new frames.
Setting the parent to nil just releases it from the strictures of being a child of it's current parent (following scale, hide state etc.).
|