>>This is a very interesting finding. I think the CA is very poorly documented in help, and most of the knowledge about it comes from other sources, mostly our collective trial and terror...
>>
>>Thanks for wasting your nerves on behalf of the community :).
>
>Yes, exactly and I am not really sure the table was closed or not (I didn't find a place where I closed it but didn't dig very much either once solved). I would think that it was closed somewhere. Unless you also explicitly/implicitly close the datasource (Ca.Datasource) it isn't really freed.
OK, how about this strategy: close alias, release its CA. Maybe also detach first? Or close the alias in the .destroy() of the CA, then all of it should be gone together. Hmm... several things to try. I'd like to see closing the alias in one line, and if the line is "release oCaMyAlias", that'd be fine too.
>PS: Not only nerves but hair is wasted as well:)
I've given up pulling hairs as a matter of principle. With the frequency of the times when I forget about the principle, the remainder of the hair should last until I retire.