diff --git a/src/rpc/src/rpcMain.c b/src/rpc/src/rpcMain.c index 976a635818..294e204791 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 } } }