Re:Don't kill my app
by g-b-r on Thursday November 23, 2023 @10:23AM
(#38393698)
Suspending means that its memory was preserved, so the app doesn't have to do anything !!!
[ Parent
| on HN ]
While suspending may be the first state, the OS can choose to fully evict the app from memory if it needs it for other tasks. So a "good app" saves state before being suspended so that upon resume, it can restore from disk even if it was "killed".