Jump to content
SubSpace Forum Network

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)

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...