Skip to content

同时安装多个整合包失败 #7357

In review

Description

@boshoubushishou1

问题描述 | Bug Description

在任务列表同时排定多个整合包安装任务
安装成功第一个后,其他排定任务会直接失败,并且直接消失
该问题稳定复现

启动器崩溃报告 / 启动器日志文件 | Launcher Crash Report / Launcher Log File

hmcl-exported-logs-2026-11-24T23-43-20.zip
hmcl-exported-logs-2026-11-24T23-49-49.zip

Activity

  1. changed the title [-][Bug][/-] [+]同时安装多个整合包失败[/+] on Nov 24, 2026
  2. burningtnt commented on Nov 25, 2026

    @burningtnt
    Member

    java.lang.IllegalStateException: Another repository draft is already open

    HMCL 现在的后台任务没有做互斥锁,排在后面的任务可能访问前序任务还没有释放的资源(#6977)。

    短期内这个问题不是非常好从根源上解决。我计划先等 Glavo 完成 #7344 Task 重构,然后开始前后端拆分 + 编写任务互斥功能。

  3. link-fgfgui commented on Nov 25, 2026

    @link-fgfgui

    那是不是可以考虑先给这种稳定复现的问题加一个临时性的workaround,比如已经有一个整合包安装任务时不允许发起第二个

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions