1
General / SFML game engine crashes on exit
« on: October 24, 2009, 11:12:44 pm »Quote from: "Nexus"
Why do you always blame others for the mistake?
You might also try a memory-tool like valgrind...
I absolutely consider this my fault. I don't think that the problem is inside sfml, the reason I post here, is because the problem seems related to sfml, so I wan't to know if something happens inside sfml, that I am unaware of, and therefore, make some mistake.
I will check that out. It's for checking meamory-leakage, am I right?
Quote from: "Nexus"
lesson
Thanks for the lesson
It's always good to be "corrected", as I always strive to learn as much as I can.
If setting the pointer to NULL in safe-delete is bad, then I won't do it. My thoughts on the name "SAFE_DELETE" were to assure myself of both deleting and nulling the ptr. I don't really know why. I think I saw someone else do it, and it looked kind of handy. I'm lazy :/