mirror of
https://github.com/fork-maintainers/iceraven-browser
synced 2024-11-11 13:11:01 +00:00
6161dc6e8d
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. |
||
---|---|---|
.. | ||
sampledata | ||
src | ||
.gitignore | ||
benchmark.gradle | ||
build.gradle | ||
lint-baseline.xml | ||
lint.xml | ||
metrics.yaml | ||
pings.yaml | ||
proguard-rules.pro |