I'm working on an application that eventually crashes when the "USER Objects" reaches 10,000. I've gone through all the code and replaced:
with
Is there a way to track the objects that aren't being disposed within a class?
Is there a way to loop through all objects within a class and dispose of all IDisposable objects?
Thanks,
Alan
Code:
object = null;
Code:
if(object != null)
object.dispose();
object = null;
Is there a way to loop through all objects within a class and dispose of all IDisposable objects?
Thanks,
Alan
Comment