Commit 8c8ca730 by Edward Thomson Committed by Edward Thomson

mwindow: clean up pack map at shutdown

parent e4985fe3
...@@ -41,6 +41,8 @@ int git_mwindow_files_init(void) ...@@ -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);
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment