fix adapter proxy bug

This commit is contained in:
ruanshudong 2020-01-30 17:25:56 +08:00
parent 8b3524243a
commit 4a60c1b9bd
2 changed files with 3 additions and 2 deletions

View File

@ -399,7 +399,7 @@ bool AdapterProxy::checkActive(bool bForceConnect, bool onlyCheck)
if(bForceConnect)
{
//强制重试 肯定是无效结点
assert(!_activeStatus);
// assert(!_activeStatus);
//有效的连接
if(_trans->isConnecting() || _trans->hasConnected())

View File

@ -73,7 +73,8 @@ public:
* @onlyCheck:
* @return bool
*/
bool checkActive(bool bForceConnect = false, bool onlyCheck = false);
// bool checkActive(bool bForceConnect = false, bool onlyCheck = false);
bool checkActive(bool bForceConnect, bool onlyCheck);
/**
*