Jump to content
SSForum.net is back!

Recommended Posts

Posted

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 :o (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 smile.gif

 

Just gotta finish pimping the whole tileset/lvz images thing

Posted
Oh nice catch blum.gif , 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.
Posted
and also forms can be listed in a collection Forms
Yeah, 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 collection

there was...

 

floattileset

floatradar

frmMain

frmGeneral (but that was normal)

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...