1. aragost Trifork
  2. Untitled project
  3. javahg

Commits

John Peberdy  committed 4047f25

Fix Server not becoming available after hg terminated

  • Participants
  • Parent commits f968739
  • Branches default

Comments (0)

Files changed (1)

File src/main/java/com/aragost/javahg/Changeset.java

View file
                         changesets.add(cset);
                     }
                 }
-                Utils.consumeAll(in);
             }
             // If the pattern is not found there is no changsets
         } catch (IOException e) {
             throw new RuntimeIOException(e);
+        } finally {
+           try {
+              Utils.consumeAll(in);
+           } catch (IOException e) {
+              throw new RuntimeIOException(e);
+           }
         }
         return changesets;
     }