Signed-off-by: unknown <sijunjie@huawei.com>
This commit is contained in:
unknown 2022-08-12 11:00:02 +08:00
parent da59f55b1c
commit 0543df51e4

View File

@ -794,7 +794,7 @@ void AbilityConnectManager::HandleTerminateDisconnectTask(const ConnectListType&
auto targetService = connectRecord->GetAbilityRecord();
if (targetService) {
HILOG_WARN("This record complete disconnect directly. recordId:%{public}d", connectRecord->GetRecordId());
connectRecord->CompleteDisconnect(ERR_OK, false);
connectRecord->CompleteDisconnect(ERR_OK, true);
targetService->RemoveConnectRecordFromList(connectRecord);
RemoveConnectionRecordFromMap(connectRecord);
};