!6280 fix: 代理通道ErrMsg异常分支重复上报了OpenFailed信息

Merge pull request !6280 from liangjunhao/0527proxy
This commit is contained in:
openharmony_ci 2024-05-27 12:29:44 +00:00 committed by Gitee
commit cf676ec729
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

@ -680,6 +680,7 @@ static inline void TransProxyProcessErrMsg(ProxyChannelInfo *info, int32_t errCo
}
if ((info->appInfo.appType == APP_TYPE_NORMAL) || (info->appInfo.appType == APP_TYPE_AUTH)) {
TransProxyDelChanByChanId(info->channelId);
(void)TransProxyOpenProxyChannelFail(info->channelId, &(info->appInfo), errCode);
}
}