diff --git a/src/rpc/src/rpcMain.c b/src/rpc/src/rpcMain.c index 976a6358182c11aa87c71356919be3223f2ea057..294e20479173f3932e030fc7a49be5411d9ee490 100644 --- a/src/rpc/src/rpcMain.c +++ b/src/rpc/src/rpcMain.c @@ -1610,7 +1610,7 @@ static void rpcDecRef(SRpcInfo *pRpc) int count = atomic_sub_fetch_32(&tsRpcNum, 1); if (count == 0) { taosCloseRef(tsRpcRefId); - tsRpcInit = PTHREAD_ONCE_INIT; + // tsRpcInit = PTHREAD_ONCE_INIT; // windows compliling error } } }