mirror of
https://github.com/facebook/zstd
synced 2026-08-22 22:32:07 -04:00
Remove redundant setting of allJobsCompleted to 1
This will do it automatically.
This commit is contained in:
parent
3c3b8274c5
commit
50f169411b
1 changed files with 1 additions and 2 deletions
|
|
@ -1268,8 +1268,7 @@ size_t ZSTDMT_initCStream_internal(
|
|||
|
||||
if (mtctx->allJobsCompleted == 0) { /* previous compression not correctly finished */
|
||||
ZSTDMT_waitForAllJobsCompleted(mtctx);
|
||||
ZSTDMT_releaseAllJobResources(mtctx);
|
||||
mtctx->allJobsCompleted = 1;
|
||||
ZSTDMT_releaseAllJobResources(mtctx); /* Will set allJobsCompleted to 1 */
|
||||
}
|
||||
|
||||
mtctx->params = params;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue