This repository has been archived by the owner on Jul 22, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 218
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Prevent GeckoSession creation until tab is viewed (#2238)
* Prevent GeckoSession creation until tab is viewed Fixes #2227 To prevent memory exhaustion, this patch watches for memory trim system callbacks and suspends inactive tabs by deleting the GeckoSession. Additionally, when the application is started or resumed, inactive tabs will not have a GeckoSession created until they are viewed. Any new background tab will also not have a GeckoSession created until the tab is viewed. * Fix gray window when loading tab is replaced with already loaded tab * Refactor Session to include GeckoDisplay * Prevent crash in PromptDelegate
- Loading branch information
1 parent
3ae95ba
commit 0b2917e
Showing
9 changed files
with
229 additions
and
135 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
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.