We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 8c65186 + 50f1694 commit f9e26bbCopy full SHA for f9e26bb
1 file changed
lib/compress/zstdmt_compress.c
@@ -1268,8 +1268,7 @@ size_t ZSTDMT_initCStream_internal(
1268
1269
if (mtctx->allJobsCompleted == 0) { /* previous compression not correctly finished */
1270
ZSTDMT_waitForAllJobsCompleted(mtctx);
1271
- ZSTDMT_releaseAllJobResources(mtctx);
1272
- mtctx->allJobsCompleted = 1;
+ ZSTDMT_releaseAllJobResources(mtctx); /* Will set allJobsCompleted to 1 */
1273
}
1274
1275
mtctx->params = params;
0 commit comments