libgit2

git_libgit2_shutdown

Version:

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).

Signature

int git_libgit2_shutdown();

Returns

int

the number of remaining initializations of the library, or an error code.

Versions