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

@@ -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 = {}