Skip to content

Commit

Permalink
Merge pull request apache#127 from sun-rui/SPARKR-164
Browse files Browse the repository at this point in the history
[SPARKR-164] Temporary files used by SparkR accumulat as time goes on.
  • Loading branch information
shivaram committed Dec 30, 2014
2 parents cb6873e + 387bd57 commit fccfe6c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions pkg/inst/worker/worker.R
Original file line number Diff line number Diff line change
Expand Up @@ -139,6 +139,8 @@ if (isOutputSerialized) {
}

close(outputCon)
close(inputCon)
unlink(inFileName)

# Restore stdout
sink()
Expand Down

0 comments on commit fccfe6c

Please sign in to comment.