fix: fix rpc quit problem
This commit is contained in:
parent
bb95a3427e
commit
c1690655fc
|
@ -1113,11 +1113,8 @@ SCliThrd* transGetWorkThrdFromHandle(int64_t handle) {
|
||||||
SCliThrd* pThrd = NULL;
|
SCliThrd* pThrd = NULL;
|
||||||
SExHandle* exh = transAcquireExHandle(handle);
|
SExHandle* exh = transAcquireExHandle(handle);
|
||||||
if (exh == NULL) {
|
if (exh == NULL) {
|
||||||
tTrace("no, no %" PRId64 "", handle);
|
|
||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
tTrace("YY %" PRId64 "", handle);
|
|
||||||
|
|
||||||
pThrd = exh->pThrd;
|
pThrd = exh->pThrd;
|
||||||
transReleaseExHandle(handle);
|
transReleaseExHandle(handle);
|
||||||
return pThrd;
|
return pThrd;
|
||||||
|
|
Loading…
Reference in New Issue