fix(os): dll exit error

This commit is contained in:
afwerar 2022-05-25 21:31:19 +08:00
parent 4cf843ed51
commit deeeefdb04
1 changed files with 1 additions and 1 deletions

View File

@ -1458,7 +1458,7 @@ _return:
} }
void ctgUpdateThreadFuncUnexpectedStopped(void) { 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) { void* ctgUpdateThreadFunc(void* param) {