mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-29 07:42:04 +00:00
1a3a107998
Bug 1243549 fixed a race condition during SessionFile startup which could cause calls to SessionFile.write to send messages to the worker before it was initialized. The fix consisted in waiting until initialization was complete before proceeding. As it turns out, there are cases in which we send messages to the worker without ever attempting to initialize it, so this wait ends up causing a hang/shutdown. This patch fixes the issue by making sure that any message sent to the worker first initializes the worker if it hasn't been initialized yet. Since initializing the worker requires us reading the session store files to find out which one is valid, well, we do exactly that. MozReview-Commit-ID: 1bOgCaF6ahM --HG-- extra : rebase_source : 5f1c6df24457c37c8b253c9e14d6e2b5eba2bfbb |
||
---|---|---|
.. | ||
app | ||
base | ||
branding | ||
components | ||
config | ||
docs | ||
experiments | ||
extensions | ||
installer | ||
locales | ||
modules | ||
themes | ||
tools/mozscreenshots | ||
.eslintrc | ||
app-rules.mk | ||
app.mozbuild | ||
build.mk | ||
confvars.sh | ||
defs.mk | ||
LICENSE | ||
Makefile.in | ||
moz.build |