Samapico Posted October 12, 2007 Report Posted October 12, 2007 Sub DestroyMap(id) '......... Set Maps(id) = Nothing loadedmaps(id) = False '......... How about Unload Maps(id) before that? ... that might help. There are a few other forms that aren't unloaded correctly when the program ends too... edit: all fixed (i think)well it's a cheap patching for now, but everything unloads. Some stuff should be unloaded way before that though Oh, and drake and me discussed some ways of making the selection MUUUUUUUUUUUCH faster... I wouldn't be surprised if it's 5 to 10 times faster. So emm yeah... good stuff coming Just gotta finish pimping the whole tileset/lvz images thing
Hakaku Posted October 12, 2007 Report Posted October 12, 2007 Should that fix the crashing problem when quitting the program in Vista?
Samapico Posted October 12, 2007 Author Report Posted October 12, 2007 Yes it will Plus it will fix the problem of DCME eating 150MB of RAM even after you closed all your maps
Drake7707 Posted October 12, 2007 Report Posted October 12, 2007 Oh nice catch , normally vb's garbage collection should take care when all references to an object is gone, but i think this doesn't work with forms because they have a message pump meaning they can always get referenced by the mouse or keyboard, and also forms can be listed in a collection Forms.
Samapico Posted October 12, 2007 Author Report Posted October 12, 2007 and also forms can be listed in a collection FormsYeah, that's how i realised it wasn't being unloaded... in MDI_Form unload i made it pop up msgboxes for each form still in Forms collectionthere was... floattilesetfloatradarfrmMainfrmGeneral (but that was normal)
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now