Appendix D. Dealing with Tombstoning
On Windows Phone 7, the system controls the lifetime of your application. When your game isn’t in the foreground, the system can (and almost certainly will) stop the process. In this appendix, we cover:
• What tombstoning is
• How to handle your application that is tombstoned
What Is Tombstoning?
At the highest level, an application can have two states: It can either be running or it can be not running. Windows Phone 7 adds an extra state to the case where the application is not running. It can either be closed or it can be tombstoned. Tombstoning is when the process for the application is killed because it is no longer in the foreground, but the system remembers it because it might need to go back to ...
Get XNA Game Studio 4.0 Programming: Developing for Windows® Phone 7 and Xbox 360® now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.