mirror of
https://github.com/atom/atom.git
synced 2026-04-28 03:01:47 -04:00
Doc Git::destroy as a public method
This commit is contained in:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user