mirror of
https://gitee.com/openharmony/communication_dsoftbus
synced 2024-12-18 15:28:15 +00:00
fix the udp death callback bug when delete udp channel
Signed-off-by: breakfei1 <zhangshen6@huawei.com>
This commit is contained in:
parent
916f7307ae
commit
2c1dc137f5
@ -858,7 +858,7 @@ void TransUdpDeathCallback(const char *pkgName, int32_t pid)
|
||||
(void)ReleaseUdpChannelLock();
|
||||
|
||||
UdpChannelInfo *udpChannelNodeNext = NULL;
|
||||
LIST_FOR_EACH_ENTRY_SAFE(udpChannelNode, udpChannelNodeNext, &(udpChannelList->list), UdpChannelInfo, node) {
|
||||
LIST_FOR_EACH_ENTRY_SAFE(udpChannelNode, udpChannelNodeNext, (&destroyList), UdpChannelInfo, node) {
|
||||
if (OpenAuthConnForUdpNegotiation(udpChannelNode) != SOFTBUS_OK) {
|
||||
SoftBusLog(SOFTBUS_LOG_TRAN, SOFTBUS_LOG_ERROR, "open udp negotiation failed.");
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user