1
1
Fork 0
mirror of https://github.com/NixOS/nix.git synced 2025-11-19 08:49:35 +01:00

LocalStore: Get rid of recursive_mutex

This commit is contained in:
Eelco Dolstra 2020-11-03 12:52:57 +01:00
parent 797a52e31d
commit e8c379555f
5 changed files with 22 additions and 15 deletions

View file

@ -90,9 +90,7 @@ private:
std::unique_ptr<PublicKeys> publicKeys;
};
// FIXME: get rid of recursive_mutex, it hides recursive SQLite
// queries.
Sync<State, std::recursive_mutex> _state;
Sync<State> _state;
public: