Updater often blocks on app exe still in use
- 主要语言
- 没有语言数据
- 星标
- 2.1k
- 派生
- 153
- PR 合并指标
- 30 天内没有已合并 PR
描述
### Short summary
_No response_
### Affected version or release
1.0.17 (last I updated from)
### Installation context
_No response_
### What happened?
Lately, whenever an update is downloaded and I restart the app to install it (by clicking on the Restart Now button in the in-app notification), the installer ends up blocking in the middle of the installation because the app exe is still running. I have to wait a non-insignificant amount of time (say, ~30s) before I can retry and continue the installation. This has started happening consistently in the past 10 days or so.
### Steps to reproduce
_No response_
### Expected behavior
I'd expect the installer to wait until the process is closed before starting the update installation.
### Additional context
_No response_
贡献指南
调研方向
先从 Restart Now 按钮流程和安装程序交接开始,然后在检查应用 exe 进程何时退出的同时,复现从版本 1.0.17 进行更新的过程。完成的标准是安装程序等待进程关闭,并继续安装,而不需要手动重试。
由索引模型根据 Issue 内容生成。
评估
- 领域
- desktop, release
- Issue 类型
- 缺陷
- 难度
- 4/5
- 预计耗时
- 3-5 天
- 活跃度
- 冷清
- 描述清晰度
- 基本清楚
- 新手友好度
- 45/100