Clean up the global state and threading context after calling it as
many times as git_libgit2_init() was called - it will return the
number of remainining initializations that have not been shutdown
(after this one).
@return the number of remaining initializations of the library, or an
error code.
Shutdown the global state
Clean up the global state and threading context after calling it as many times as git_libgit2_init() was called - it will return the number of remainining initializations that have not been shutdown (after this one).
@return the number of remaining initializations of the library, or an error code.