I'm a newbie programming some homebrew, and I have a question. Why, if I switch off my PSP when my program is running, the power led flashes like 5-6 times before powering off? What does this depend on?
adrahil wrote:This is normal... It's the psp system which kills the application and cleans up the mess it has made, while waiting for threads for finish...
Well, I guessed it was totally normal. But my question is why does my program does this? There are many applications over there that don't do this. Maybe something about callbacks?
Well, did you add any exit callbacks? If you did, did you free all the (*)alloc-ed vars or delete all the new-ed objects?
This generally happens if an app doesn't have a proper exit handling: callbacks and memory cleanup.