优化 Gitea 并行构建、重试与 Windows 更新发布 #5

Merged
lingjhf merged 11 commits from ci/gitea-parallel-build-retries into main 2026-10-06 08:21:10 +00:00
Showing only changes of commit 2497865d0e - Show all commits
+3 -2
View File
@@ -126,9 +126,10 @@ void main() {
.closeSource();
}
await access.dispose();
// UI/provider disposal owns the project; allow its async cleanup to finish.
// Provider disposal starts async cleanup without waiting for it. Close the
// workspace explicitly before deleting files, especially on Windows.
await container.read(projectsProvider.notifier).prepareToQuit();
container.dispose();
await Future<void>.delayed(const Duration(milliseconds: 50));
await root.delete(recursive: true);
messenger.setMockMethodCallHandler(native, null);
messenger.setMockMethodCallHandler(events, null);