提交 23948f67 编写于 作者: B Bomin Zhang

fix td-1189

上级 452c6745
......@@ -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.
先完成此消息的编辑!
想要评论请 注册