forked from mozilla-mobile/android-components
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Issue mozilla-mobile#8255: Lazily restore engine sessions after conte…
…nt process kill or crash. * Instead of keeping the EngineSessionState inside EngineSession, we now always attach it to EngineState and also do not clear it anymore. * If the content process gets killed we now just suspend affected EngineSession instances. They will automatically and lazily get restored from the last EngineSessionState once needed. * On a content process crash we now mark the EngineState as crashed and suspend the EngineSession. We will not restore the EngineSession until explicitly restored by the application.
- Loading branch information
Showing
29 changed files
with
222 additions
and
909 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.