We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 644f264 commit 6a79786Copy full SHA for 6a79786
CodeApp/Managers/MainApp.swift
@@ -667,10 +667,14 @@ class MainApp: ObservableObject {
667
668
guard let gitServiceProvider = workSpaceStorage.gitServiceProvider else {
669
clearUIState()
670
+ onFinish()
671
return
672
}
673
674
Task {
675
+ defer {
676
677
+ }
678
do {
679
let entries = try await gitServiceProvider.status()
680
let (indexed, worktree) = groupStatusEntries(entries: entries)
@@ -713,13 +717,9 @@ class MainApp: ObservableObject {
713
717
714
718
self.branch = branchLabel
715
719
716
- onFinish()
-
720
} catch {
721
722
723
724
725
0 commit comments