mirror of
https://git.proxmox.com/git/libgit2
synced 2025-05-07 17:55:28 +00:00
mwindow: clean up pack map at shutdown
This commit is contained in:
parent
e4985fe3a9
commit
8c8ca7309b
@ -41,6 +41,8 @@ int git_mwindow_files_init(void)
|
|||||||
if (git__pack_cache)
|
if (git__pack_cache)
|
||||||
return 0;
|
return 0;
|
||||||
|
|
||||||
|
git__on_shutdown(git_mwindow_files_free);
|
||||||
|
|
||||||
return git_strmap_alloc(&git__pack_cache);
|
return git_strmap_alloc(&git__pack_cache);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user