Release repo when destroy is called

This commit is contained in:
Kevin Sawicki
2013-03-17 21:46:26 -05:00
parent cdb7f14c03
commit b01a3ff9cc

View File

@@ -56,7 +56,10 @@ class Git
@statusTask.off()
@statusTask = null
@repo = null
if @repo?
@repo.release()
@repo = null
@unsubscribe()
getWorkingDirectory: ->