mirror of
https://gitee.com/openharmony/communication_dsoftbus
synced 2024-11-23 08:49:59 +00:00
remove innerLink
Signed-off-by: wangshuangtao <wangshuangtao4@huawei.com>
This commit is contained in:
parent
1b404bf36d
commit
ab260afe92
@ -2064,6 +2064,7 @@ void P2pV1Processor::CleanupIfNeed(int32_t reason, const std::string &remoteDevi
|
||||
}
|
||||
CONN_LOGI(CONN_WIFI_DIRECT, "start cleanup ctx, reason=%{public}d", reason);
|
||||
(void)RemoveLink(remoteDeviceId);
|
||||
LinkManager::GetInstance().RemoveLink(InnerLink::LinkType::P2P, remoteDeviceId);
|
||||
}
|
||||
|
||||
void P2pV1Processor::Exclusive(const std::string &remoteDeviceId)
|
||||
|
Loading…
Reference in New Issue
Block a user