Free frees the indexer and its resources.
()
| 91 | |
| 92 | // Free frees the indexer and its resources. |
| 93 | func (indexer *Indexer) Free() { |
| 94 | untrackCallbacksPayload(&indexer.ccallbacks) |
| 95 | runtime.SetFinalizer(indexer, nil) |
| 96 | C.git_indexer_free(indexer.ptr) |
| 97 | } |