Skip to content

Commit

Permalink
Merge pull request nathanmarz#83 from BertrandDechoux/patch-2
Browse files Browse the repository at this point in the history
close TupleEntryIterator in StdoutTap
  • Loading branch information
sritchie committed May 28, 2012
2 parents d9ae673 + 06dffe0 commit 8ce6838
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/jvm/cascalog/StdoutTap.java
Expand Up @@ -68,6 +68,10 @@ public void onCompleted(Flow flow) {
System.out.println("-----------------------");
} catch (IOException ioe) {
throw new RuntimeException(ioe);
} finally {
if (it != null) {
it.close();
}
}
}

Expand Down

0 comments on commit 8ce6838

Please sign in to comment.