diff --git a/Source/clzma.h b/Source/clzma.h index 5a7a6d22..739a28b6 100644 --- a/Source/clzma.h +++ b/Source/clzma.h @@ -170,6 +170,7 @@ public: if (!hCompressionThread) { DWORD dwThreadId; + finish = flush; hCompressionThread = CreateThread(0, 0, lzmaCompressThread, (LPVOID) this, 0, &dwThreadId); if (!hCompressionThread) return -2;