2
0
mirror of https://github.com/fork-maintainers/iceraven-browser synced 2024-11-19 09:25:34 +00:00

[fenix] Issue https://github.com/mozilla-mobile/fenix/issues/12731: Disable TrimMemoryMiddleware on all channels

This was already disabled in Nightly over two months ago
and seems to work much better combined with latest fixes
in GV (see links inline for details.)
This commit is contained in:
Christian Sadilek 2022-02-01 15:17:41 -05:00 committed by mergify[bot]
parent 98a540b81d
commit eb9fc799ee

View File

@ -219,12 +219,14 @@ class Core(
BrowserStore(
middleware = middlewareList + EngineMiddleware.create(
engine,
// We are disabling automatic suspending of engine sessions under memory pressure
// in Nightly as a test. Instead we solely rely on GeckoView and the Android system
// to reclaim memory when needed.
// We are disabling automatic suspending of engine sessions under memory pressure.
// Instead we solely rely on GeckoView and the Android system to reclaim memory
// when needed. For details, see:
// https://bugzilla.mozilla.org/show_bug.cgi?id=1752594
// https://github.com/mozilla-mobile/fenix/issues/12731
// https://github.com/mozilla-mobile/android-components/issues/11300
trimMemoryAutomatically = Config.channel.isReleaseOrBeta
// https://github.com/mozilla-mobile/android-components/issues/11653
trimMemoryAutomatically = false
)
).apply {
// Install the "icons" WebExtension to automatically load icons for every visited website.