未验证 提交 396d3aa0 编写于 作者: S Shengliang Guan 提交者: GitHub

Merge pull request #3185 from taosdata/bugfix/td-1189

fix td-1189
......@@ -538,7 +538,7 @@ void rpcCancelRequest(void *handle) {
// signature is used to check if pContext is freed.
// pContext may have been released just before app calls the rpcCancelRequest
if (pContext->signature != pContext) return;
if (pContext == NULL || pContext->signature != pContext) return;
if (pContext->pConn) {
tDebug("%s, app tries to cancel request", pContext->pConn->info);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册