2004-12-09, 01:45 AM
im still at uni, so forgive me if this is a silly question, i have an arraylist of a class i created, in this class there are a few images assoicated with it.
this arraylist changes each time a user changes a directory. and i simple use
currentDirectory = new FileDetails() (the arraylist).
should i before calling that, dispose every single image with image.dispose() or would a ~FileDetails() method be called and i could dispose the images in there, or would this make no difference in the memory and just leave it as it is?
this arraylist changes each time a user changes a directory. and i simple use
currentDirectory = new FileDetails() (the arraylist).
should i before calling that, dispose every single image with image.dispose() or would a ~FileDetails() method be called and i could dispose the images in there, or would this make no difference in the memory and just leave it as it is?