forked from mirrors/gecko-dev
Bug 1600889 - gShuttingDownThread in nsUrlClassifierDBService should be Atomic r=gcp
Differential Revision: https://phabricator.services.mozilla.com/D57954 --HG-- extra : moz-landing-system : lando
This commit is contained in:
parent
ff130db72b
commit
a8d6bc0307
1 changed files with 1 additions and 1 deletions
|
|
@ -278,7 +278,7 @@ nsIThread* nsUrlClassifierDBService::gDbBackgroundThread = nullptr;
|
|||
|
||||
// Once we've committed to shutting down, don't do work in the background
|
||||
// thread.
|
||||
static bool gShuttingDownThread = false;
|
||||
static Atomic<bool> gShuttingDownThread(false);
|
||||
|
||||
static uint32_t sGethashNoise = GETHASH_NOISE_DEFAULT;
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue