git_libgit2_shutdown

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

extern (C) nothrow @nogc
int
git_libgit2_shutdown
()

Return Value

Type: int

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

Meta