diff options
| author | João Barbosa <[email protected]> | 2019-02-01 21:09:13 +0000 |
|---|---|---|
| committer | João Barbosa <[email protected]> | 2019-02-01 21:13:08 +0000 |
| commit | 712d35bc563ac7de0b7dfc3a35fc48dc6448fa6a (patch) | |
| tree | d7d4bdadfc9a51446178bab706f26201e48cc2a7 /src/httpserver.cpp | |
| parent | Merge #11911: Free BerkeleyEnvironment instances when not in use (diff) | |
| download | discoin-712d35bc563ac7de0b7dfc3a35fc48dc6448fa6a.tar.xz discoin-712d35bc563ac7de0b7dfc3a35fc48dc6448fa6a.zip | |
wallet: Add missing cs_db lock
Without this lock BerkeleyEnvironment::~BerkeleyEnvironment and
GetWalletEnv would race for g_dbenvs. This wasn't detected before
because thread safety analysis does not check constructors and
destructors.
Diffstat (limited to 'src/httpserver.cpp')
0 files changed, 0 insertions, 0 deletions