Metadata cache leak fix + profiling

This commit is contained in:
2025-09-02 16:42:22 +01:00
parent 873105108e
commit 024e349aa9
7 changed files with 1378 additions and 22 deletions
+2 -2
View File
@@ -48,7 +48,7 @@ func TestMemoryLeakFixes(t *testing.T) {
t.Run("Global cache manager cleanup", func(t *testing.T) {
// Get the global cache manager
cm := GetGlobalCacheManager()
cm := GetGlobalCacheManager(nil)
if cm == nil {
t.Fatal("Failed to get global cache manager")
}
@@ -64,7 +64,7 @@ func TestMemoryLeakFixes(t *testing.T) {
}
// Verify it can be re-initialized
cm2 := GetGlobalCacheManager()
cm2 := GetGlobalCacheManager(nil)
if cm2 == nil {
t.Fatal("Failed to re-initialize global cache manager")
}