Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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.
- Loading branch information