gecko-dev/services
Gijs Kruitbosch 0377d8eece Bug 1598924 - make remote settings handle shutdown gracefully, r=leplatrem,asuth
By and large, this change accomplishes two things:
1. Run db.close() in finally clauses so that even if db access fails, we close
   our connections. It also tries to avoid waiting on other, non-DB operations
   before calling close, to avoid the DB connection needlessly hanging around.
2. Intercept all async database operations from the remote settings client to
   kinto and ensuring they complete before the end of `profile-before-change`.
   Any operations started after Services.startup.isShuttingDown (so after
   quit/restart is initiated by the user) will throw. Operations started
   beforehand are put in a set of operations, and remove themselves once
   complete. We AsyncShutdown block on that set of operations completing.

Differential Revision: https://phabricator.services.mozilla.com/D66995

--HG--
extra : moz-landing-system : lando
2020-03-24 14:55:41 +00:00
..
automation Bug 1622328 - add license info to all eslintrc files r=Standard8,webcompat-reviewers,miketaylr 2020-03-19 13:47:51 +00:00
common Bug 1620185 - Improve behaviour when signature is bad after retry r=glasserc 2020-03-17 20:24:01 +00:00
crypto Bug 1622666 - Removes redundant access specifier r=froydnj 2020-03-22 11:58:15 +00:00
fxaccounts Bug 1590946 - Remove `service=sync` from account management links. r=rfkelly 2020-03-13 20:53:12 +00:00
settings Bug 1598924 - make remote settings handle shutdown gracefully, r=leplatrem,asuth 2020-03-24 14:55:41 +00:00
sync Bug 1622328 - fxa_utils.js: Add the license r=markh 2020-03-14 01:09:01 +00:00
moz.build Bug 1597336 - add a fxa+sync scenario r=lina,markh 2020-02-23 23:17:23 +00:00