Hello everyone
I encountered a strange behavior in the S40 devices. When I press the red end button 1 time, the destroyApp() which saves my game to the RMS, is being called without any problems. During that time (the game saving), the device displays the: "closing application" screen.
If I press 2 times on the red end button (one shortly after the other), the "closing application" screen is interrupts and the destroyApp() function doesn't complete it's process which end with the application could not fished saving the game.
My guess is: pressing the second time on the end button is forcing the device OS to terminate the application without waiting for a "neatly" exit.

Does anyone can support this guess?
and if so, what can I do in order to save my game?
Note: saving my game status after each action being made is not an option.