Skip to content

Commit

Permalink
Clear cache after transaction completion
Browse files Browse the repository at this point in the history
  • Loading branch information
falahati committed Aug 13, 2018
1 parent ac93706 commit 7c2776c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions LiteDB/Engine/LiteEngine.cs
Original file line number Diff line number Diff line change
Expand Up @@ -203,6 +203,8 @@ private T Transaction<T>(string collection, bool addIfNotExists, Func<Collection

_trans.PersistDirtyPages();

_trans.CheckPoint();

return result;
}
catch (Exception ex)
Expand Down

0 comments on commit 7c2776c

Please sign in to comment.