| 文件 | 最后提交记录 | 最后更新时间 |
|---|---|---|
fix(skill): match target death by pid to avoid child process false cleanup OnTargetProcessDied matched records by bundleName only. Same-bundle child processes share the bundleName with the main process, so any child death incorrectly cleaned up the main process's SkillExecuteRecord, causing ExecuteSkillDone to return ERR_CODE_INVALID_ID and lose the query result. Introduce targetPid in SkillExecuteRecord, backfilled in OnLaunchCompleted via IPCSkeleton::GetCallingPid() (the notify caller is the target process). OnTargetProcessDied now matches by pid. targetPid=0 (before OnLaunchCompleted) skips cleanup, relying on timeout / launch-failure fallback. Co-Authored-By: Agent Signed-off-by: RuiChen_01 <chenrui193@huawei.com> | 25 天前 | |
fix(skill): match target death by pid to avoid child process false cleanup OnTargetProcessDied matched records by bundleName only. Same-bundle child processes share the bundleName with the main process, so any child death incorrectly cleaned up the main process's SkillExecuteRecord, causing ExecuteSkillDone to return ERR_CODE_INVALID_ID and lose the query result. Introduce targetPid in SkillExecuteRecord, backfilled in OnLaunchCompleted via IPCSkeleton::GetCallingPid() (the notify caller is the target process). OnTargetProcessDied now matches by pid. targetPid=0 (before OnLaunchCompleted) skips cleanup, relying on timeout / launch-failure fallback. Co-Authored-By: Agent Signed-off-by: RuiChen_01 <chenrui193@huawei.com> | 25 天前 |
| 文件 | 最后提交记录 | 最后更新时间 |
|---|---|---|
| 25 天前 | ||
| 25 天前 |