Merge pull request #12985 from taosdata/fix/ZhiqiangWang/TD-15849-dll-exit-error

fix(os): dll exit error
This commit is contained in:
Zhiqiang Wang 2022-05-25 22:11:35 +08:00 committed by GitHub
commit 421a6c89b1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -1458,7 +1458,7 @@ _return:
}
void ctgUpdateThreadFuncUnexpectedStopped(void) {
if (CTG_IS_LOCKED(&gCtgMgmt.lock) == TD_RWLATCH_WRITE_FLAG_COPY) CTG_UNLOCK(CTG_READ, &gCtgMgmt.lock);
if (CTG_IS_LOCKED(&gCtgMgmt.lock) > 0) CTG_UNLOCK(CTG_READ, &gCtgMgmt.lock);
}
void* ctgUpdateThreadFunc(void* param) {