Skip to content

Commit

Permalink
尝试修复资源释放
Browse files Browse the repository at this point in the history
  • Loading branch information
lindexi committed Nov 12, 2024
1 parent c1b79b6 commit a36be58
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion package/GitCommand/GitCommand/Git.cs
Original file line number Diff line number Diff line change
Expand Up @@ -202,7 +202,7 @@ private static (bool success, string output) ExecuteCommand(string exeName, stri
UseShellExecute = false,
RedirectStandardOutput = true,
};
var process = Process.Start(processStartInfo);
using var process = Process.Start(processStartInfo);
if (process is null)
{
return (false, string.Empty);
Expand Down

0 comments on commit a36be58

Please sign in to comment.