func:重命名功能完成。

This commit is contained in:
2025-11-16 19:23:59 +08:00
parent 466b012b4f
commit e24223b32b
8 changed files with 215 additions and 16 deletions

View File

@@ -165,10 +165,11 @@ void frelayGUI::HandleTask(const QVector<TransTask>& tasks)
return;
}
std::shared_ptr<void> recv(nullptr, [&cond](void*) { cond.wait(); });
// 检查结果
auto reTasks = cond.GetTasks();
if (!CheckTaskResult(reTasks)) {
cond.wait();
return;
}
if (reTasks.empty()) {