Browse Source

Fix stack overflow

Stuart Johnson 6 months ago
parent
commit
7b08719fe1
1 changed files with 0 additions and 6 deletions
  1. 0 6
      TFA-Bot/Git/clsGit.cs

+ 0 - 6
TFA-Bot/Git/clsGit.cs

@@ -153,12 +153,6 @@ namespace TFABot.Git
 
         public void Dispose()
         {
-
-            foreach (var branch in BranchList)
-            {
-                if(branch!=null) branch.Dispose();
-            }
-        
             if (Repo!=null) Repo.Dispose();
             if (Head!=null) Head.Dispose();
         }