Release repository when worker is done

Closes #414
This commit is contained in:
Kevin Sawicki
2013-03-17 17:19:22 -05:00
parent a9b9e5651f
commit cdb7f14c03
2 changed files with 2 additions and 1 deletions

View File

@@ -7,7 +7,7 @@
"ctags": "0.1.0",
"oniguruma": "0.5.0",
"mkdirp": "0.3.5",
"git-utils": "0.5.0",
"git-utils": "0.6.0",
"underscore": "1.4.4",
"d3": "3.0.8",
"coffee-cache": "0.1.0",

View File

@@ -10,6 +10,7 @@ module.exports =
for path, status of repo.getStatuses()
statuses[fs.join(workingDirectoryPath, path)] = status
upstream = repo.getAheadBehindCount()
repo.release()
else
upstream = {}
statuses = {}