mirror of
https://gitee.com/openharmony/communication_dsoftbus
synced 2024-11-28 11:21:14 +00:00
update core/transmission/trans_channel/proxy/src/softbus_proxychannel_manager.c.
modify channel of proxy death callback
This commit is contained in:
parent
6cd34291c0
commit
3fcb1246a7
@ -1041,7 +1041,11 @@ void TransProxyDeathCallback(const char *pkgName)
|
||||
}
|
||||
LIST_FOR_EACH_ENTRY_SAFE(item, nextNode, &g_proxyChannelList->list, ProxyChannelInfo, node) {
|
||||
if (strcmp(item->appInfo.myData.pkgName, pkgName) == 0) {
|
||||
TransProxyCloseProxyChannel(item->channelId);
|
||||
TransProxyResetPeer(item);
|
||||
(void)TransProxyCloseConnChannel(item->connId);
|
||||
ListDelete(&(item->node));
|
||||
SoftBusFree(item);
|
||||
g_proxyChannelList->cnt--;
|
||||
continue;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user