I've got a program that makes extensive use of quite a few collections. When the form closes and goes back to the main form that called it, it's as though the program seems to hang for a period of time that has a relationship with the number of items that are in the collection (therefore it takes longer to close the more items that there are in the collection).
I've made sure that i've set all the collections to nothing before the form closes but it still happens.
I've debugged it and once the form unloads it's not going back to it, it's as though windows is having to clear the memory.
Anyone got any clues or ideas?
Thanks
Clegg
I've made sure that i've set all the collections to nothing before the form closes but it still happens.
I've debugged it and once the form unloads it's not going back to it, it's as though windows is having to clear the memory.
Anyone got any clues or ideas?
Thanks
Clegg