2
0
mirror of https://github.com/fork-maintainers/iceraven-browser synced 2024-11-11 13:11:01 +00:00
iceraven-browser/app
Grisha Kruglov 6161dc6e8d Closes 20975: Run metadata cleanup after Megazord.init()
This ensures that we do not attempt places initialization before
Megazord.init() finishes, and that touching BrowserStore does not
kick-off places initialization (due to the `cleanup` call being a
side-effect of creating metadata middleware, used as part of the
BrowserStore).

Glean initialization happens before initialize megazord, and it touches
core.store BrowserStore instance, kicking-off places initialization on
an IO thread (due to the cleanup call), which raced megazord
initialization on the main thread.

App init sequence is a bit of a mine-field, so this patch takes the easy
way out and doesn't attempt to re-order initialization sequence. Also,
initializing places as a side-effect of touching BrowserStore was also,
clearly, a bug.
2021-08-23 22:29:46 +00:00
..
sampledata
src Closes 20975: Run metadata cleanup after Megazord.init() 2021-08-23 22:29:46 +00:00
.gitignore
benchmark.gradle For #19901: correct spacing in comment on how to run 2021-07-22 15:24:35 +00:00
build.gradle For #20586 - Basic Jetpack Compose implementation. 2021-08-23 14:38:06 +00:00
lint-baseline.xml For #17917 - Add a Kotlin synthetics Lint detector 2021-08-06 14:09:15 +00:00
lint.xml #7346 update lint-baseline.xml and remove activity_addons.xml as unused resource 2021-08-02 10:22:34 +02:00
metrics.yaml For #20596 remove startup timeline probes 2021-08-22 00:57:10 +00:00
pings.yaml For #20596 remove startup timeline probes 2021-08-22 00:57:10 +00:00
proguard-rules.pro For #20824: use fast service loader for MainDispatcherFactory. 2021-08-18 03:59:44 +00:00