Nullifying static objects
Posted on 2001-08-02
We have designed some classes as to use singleton objects as we r using often these objects in application, but if we want to nullify it in some circumstances we couldn't do that. Even though we assigned null still it is in the memory. Is there any other way to destroy these objects or any other alternate to use instead of singleton objects?
Also whatever objects created in a static class, is still in the memory( up to close the application ) even the reference or the scope of that object gone. How to tackle this problem?