|
Post by u9 on Feb 22, 2007 13:38:57 GMT -5
Brutus seems to crash if I run a piece of code twice that does not terminate the objects object. Try running attached file twice. Second time I run it the Brutus crashes and i have to restart the editor.
|
|
|
Post by Guilect on Feb 23, 2007 7:24:16 GMT -5
uhm, ya. That is why you need to terminate objects that you initialize.
But, you know that.
So what point is it that you are trying to make that I am not seeing yet?
|
|
|
Post by Guilect on Feb 25, 2007 8:07:44 GMT -5
What I have done is to have Brutus2D be 'aware' of what objects you initialize. B2D will then automatically terminate these objects: - Graphics
- Console
- Sound
- Key
- Music
- Mouse
for you when your code is done running. If you have already terminated these objects in your code, B2D takes no action. This allows for seemless backwards compatibilty.
|
|