Skip to content

Commit

Permalink
[SPARKR-164] Temporary files used by SparkR accumulat as time goes on.
Browse files Browse the repository at this point in the history
  • Loading branch information
Sun Rui committed Dec 30, 2014
1 parent f04c6e0 commit 387bd57
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 387bd57

Please sign in to comment.