Commit the cache at the end of the evaluation

Otherwise the db is never properly filled
This commit is contained in:
regnat 2021-06-03 15:29:12 +02:00
parent af5c323e93
commit 69505c84e1

View File

@ -444,6 +444,9 @@ EvalState::EvalState(const Strings & _searchPath, ref<Store> store)
EvalState::~EvalState()
{
for (auto [_, cache] : evalCache) {
cache->commit();
}
}