Problems when Exiting

Archives Forums/BlitzPlus Programming/Problems when Exiting

elseano(Posted 2004) [#1]
I'm working on a shoot 'em up at the mo. I've done about 1 and a half levels and pretty much everything is going fine apart form one, big, bad bug. Basically what happens is, when I run the program, I get no errors, and if I try to close the game at the title screen, it just closes quickly. but, if I get into the main game, and then I exit, the game can take up to 3 minutes to close, and sometime sit doesn't even close at all =/
Can you tell me why this is happening? The zipped file containing all code and media is here:

Tempral Storm V0.3 [zipped]

Thanks in advance.

BTW, this only shows on level and it just skips straight to the boss, if you're wondering.

Eikon(Posted 2004) [#2]
404 and then took me to some pron site :/

elseano(Posted 2004) [#3]
It'll work now.

Eikon(Posted 2004) [#4]
Graphics3D? Sorry, only B2D/B+ here. Maybe you should try the B3D section for this.

elseano(Posted 2004) [#5]
Sorry (again).

Floyd(Posted 2004) [#6]
The usual cause is Types which contain arrays.

As the number of allocated objects with arrays grows the time required to delete one of them increases.
So if you have one which is no longer needed you should delete it immediately.