aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/zenstore/blockstore.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/zenstore/blockstore.cpp b/src/zenstore/blockstore.cpp
index a16dd4539..520227474 100644
--- a/src/zenstore/blockstore.cpp
+++ b/src/zenstore/blockstore.cpp
@@ -277,6 +277,7 @@ BlockStore::WriteChunk(const void* Data, uint64_t Size, uint64_t Alignment, cons
{
if (m_WriteBlock)
{
+ m_WriteBlock->Flush();
m_WriteBlock = nullptr;
}