fix: limit session num
This commit is contained in:
parent
22b1bc1049
commit
6632231111
|
@ -447,7 +447,7 @@ static void transHttpEnvInit() {
|
||||||
|
|
||||||
void transHttpEnvDestroy() {
|
void transHttpEnvDestroy() {
|
||||||
// remove http
|
// remove http
|
||||||
if (httpRef == -1 || transHttpInit == PTHREAD_ONCE_INIT) {
|
if (httpRef == -1) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
SHttpModule* load = taosAcquireRef(httpRefMgt, httpRef);
|
SHttpModule* load = taosAcquireRef(httpRefMgt, httpRef);
|
||||||
|
|
Loading…
Reference in New Issue