Pre-release cleanup.

This commit is contained in:
2025-09-16 23:04:20 +01:00
parent 99c30c0e29
commit ff2562f9fe
22 changed files with 4353 additions and 52 deletions
+10
View File
@@ -141,3 +141,13 @@ func (m *UniversalCacheManager) Close() error {
m.logger.Info("UniversalCacheManager: Closed all caches")
return nil
}
// ResetUniversalCacheManagerForTesting resets the singleton for testing purposes only
// This should only be called in test code to ensure proper cleanup between tests
func ResetUniversalCacheManagerForTesting() {
if universalCacheManager != nil {
universalCacheManager.Close()
}
universalCacheManagerOnce = sync.Once{}
universalCacheManager = nil
}