Doc Git::destroy as a public method

This commit is contained in:
Kevin Sawicki
2013-09-02 11:33:04 -07:00
parent 63a3d9de94
commit 91531d53da

View File

@@ -81,7 +81,8 @@ class Git
@subscribe buffer, 'saved', bufferStatusHandler
@subscribe buffer, 'reloaded', bufferStatusHandler
# Private:
# Public: Destroy this `Git` object. This destroys any tasks and
# subscriptions and releases the underlying libgit2 repository handle.
destroy: ->
if @statusTask?
@statusTask.terminate()