fix: remove binding error in debug mode (#1338)

Signed-off-by: leo <longshuang@msn.cn>
This commit is contained in:
leo 2025-05-20 23:02:45 +08:00
parent 224f7a949a
commit ece51fbd32
No known key found for this signature in database
2 changed files with 10 additions and 10 deletions

View file

@ -632,6 +632,14 @@ namespace SourceGit.ViewModels
public void RefreshAll()
{
Task.Run(RefreshCommits);
Task.Run(RefreshBranches);
Task.Run(RefreshTags);
Task.Run(RefreshSubmodules);
Task.Run(RefreshWorktrees);
Task.Run(RefreshWorkingCopyChanges);
Task.Run(RefreshStashes);
Task.Run(() =>
{
var config = new Commands.Config(_fullpath).ListAll();
@ -648,14 +656,6 @@ namespace SourceGit.ViewModels
if (config.TryGetValue("gitflow.prefix.hotfix", out var hotfixPrefix))
GitFlow.HotfixPrefix = hotfixPrefix;
});
Task.Run(RefreshBranches);
Task.Run(RefreshTags);
Task.Run(RefreshCommits);
Task.Run(RefreshSubmodules);
Task.Run(RefreshWorktrees);
Task.Run(RefreshWorkingCopyChanges);
Task.Run(RefreshStashes);
}
public ContextMenu CreateContextMenuForExternalTools()