if all references to “table” are lost it will be collected, then all your elements will also lose their reference, so later they will also be collected. And so on. You don’t need to set their fields to nil.
3 Likes