|
-
Oct 19th, 2002, 10:55 AM
#1
Thread Starter
Member
Clean up at the end
Is it neccessary to set collections, hashtables, sortedlists, .... to nothing if they are no longer used ? Maybe at the end of a subroutine or in the closing event of the application ?
-
Oct 19th, 2002, 12:28 PM
#2
PowerPoster
You can if you want, and probably should if they take up an abnormal amount of resources. It isn't neccessary though because when an object goes out of scope, it is the garbage collectors job to deal with it. It is even good about finding circular references if you have them.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|