Omar, I'm not sure if I've been able to get in on the ground floor of this issue with the
provided information, because all I have is a Control called A and its children so
intuitively named Bs. :)
But it could be a problem stemming from the Garbage Collectionâs nature of happening at
'its own will', and even if your program has officially disposed off the objects, its at
this stage that the objects actually gets destroyed .
I think if you just force the garbage collection once you are through with Bs you will
be more sure of when you 'dont have' those objects anymore.
You can force the garbage collections with
System.GC.Collect
Regards
Ankur Verma
|