mirror of
https://gitee.com/openharmony/ability_ability_runtime
synced 2024-11-27 09:21:28 +00:00
!8732 关闭fd时同时关闭sessioninfo中want的fd
Merge pull request !8732 from wangkailong/sfi
This commit is contained in:
commit
153ff79b5f
@ -103,6 +103,7 @@ int UIAbilityLifecycleManager::StartUIAbility(AbilityRequest &abilityRequest, sp
|
||||
uiAbilityRecord->SetIsNewWant(sessionInfo->isNewWant);
|
||||
if (sessionInfo->isNewWant) {
|
||||
uiAbilityRecord->SetWant(abilityRequest.want);
|
||||
uiAbilityRecord->GetSessionInfo()->want.CloseAllFd();
|
||||
}
|
||||
} else {
|
||||
uiAbilityRecord = CreateAbilityRecord(abilityRequest, sessionInfo);
|
||||
|
Loading…
Reference in New Issue
Block a user