Skip to content
Browse files

Close streams when done

  • Loading branch information...
1 parent 53e79e1 commit cd106fc0f3e0a6e0687736cba75766b5b53799e6 @creationix committed
Showing with 3 additions and 0 deletions.
  1. +3 −0 lib/git.js
View
3 lib/git.js
@@ -78,8 +78,11 @@ function gitExec(commands, callback) {
execQueue[key].forEach(function (callback) {
callback.apply(null, args);
});
+ child.stdout.end();
+ child.stderr.end();
delete execQueue[key];
});
+ child.stdin.end();
}
// Loads a file from a git repo

0 comments on commit cd106fc

Please sign in to comment.
Something went wrong with that request. Please try again.