mirror of
https://gitee.com/TarsCloud/TarsCpp.git
synced 2025-01-03 05:22:26 +08:00
fix servantproxy may crash when ctrl+c
This commit is contained in:
parent
bdcef297e6
commit
cc4e4afa4a
@ -1560,6 +1560,11 @@ void ServantProxy::selectNetThreadInfo(ServantProxyThreadData *pSptd, ObjectProx
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if(communicatorEpollInfo->_communicator->isTerminating())
|
||||||
|
{
|
||||||
|
throw TarsCommunicatorException("communicator may deconstruct");
|
||||||
|
}
|
||||||
|
|
||||||
assert(communicatorEpollInfo->_netSeq < _communicator->getCommunicatorEpollNum());
|
assert(communicatorEpollInfo->_netSeq < _communicator->getCommunicatorEpollNum());
|
||||||
|
|
||||||
//循环使用下一个网络线程发送数据
|
//循环使用下一个网络线程发送数据
|
||||||
|
Loading…
Reference in New Issue
Block a user