mirror of
https://gitee.com/TarsCloud/TarsCpp.git
synced 2025-01-05 17:42:24 +08:00
Merge pull request #147 from lirizhong97/mq30_dev
fix to avoid coredump while application exit
This commit is contained in:
commit
f8b8fa17b9
@ -518,7 +518,7 @@ void Communicator::terminate()
|
||||
}
|
||||
|
||||
// 释放当前线程数据
|
||||
ServantProxyThreadData::reset();
|
||||
// ServantProxyThreadData::reset();
|
||||
|
||||
//把锁释放掉, 再来等待线程停止, 避免死锁
|
||||
//因为通信器线程运行过程中, 有可能加上上面那把锁
|
||||
|
@ -404,6 +404,7 @@ void QueryEpBase::refreshReg(GetEndpointType type, const string & sName)
|
||||
case E_STATION:
|
||||
{
|
||||
iRet = _queryFPrx->findObjectByIdInSameStation(_objName,sName,activeEp,inactiveEp, ServerConfig::Context);
|
||||
break;
|
||||
}
|
||||
case E_SET:
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user