Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Directory.Build.props
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<Project>
<PropertyGroup>
<Version>7.40.1</Version>
<Version>7.40.2</Version>
<LangVersion>12.0</LangVersion>
<Authors>Jeremy D. Miller;Babu Annamalai;Oskar Dudycz;Joona-Pekka Kokko</Authors>
<PackageIconUrl>https://martendb.io/logo.png</PackageIconUrl>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,10 @@ public async Task SaveChangesAsync(CancellationToken token = default)
if (_messageBatch != null)
{
await _messageBatch.AfterCommitAsync(this, _workTracker, token).ConfigureAwait(false);

// This is important, we need to throw this away on every commit and start w/ a fresh
// one on new transactions
_messageBatch = null;
}

resetDirtyChecking();
Expand Down