|
-
Apr 7th, 2008, 09:38 PM
#7
Re: Problem with brushs
 Originally Posted by FourBlades
In fact if your program won't suffer for it, just call Collect after setting each instance to Nothing just to prevent the build-up.
Unfortunately, it will be very costly. At least, the app creates, uses and disposes five brushes every 100 millisecond. It will make the program very slow calling 50 times GC in a second, but thank you for the suggestion.
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
|