mirror of
https://github.com/lukaszraczylo/traefikoidc.git
synced 2026-10-18 04:47:28 +00:00
Pooling cleanup.
This commit is contained in:
+2
-2
@@ -286,8 +286,8 @@ func (t *TraefikOidc) Close() error {
|
||||
taskRegistry.StopAllTasks()
|
||||
t.safeLogDebug("All global background tasks stopped")
|
||||
|
||||
CleanupGlobalMemoryPools()
|
||||
t.safeLogDebug("Global memory pools cleaned up")
|
||||
// Note: Centralized pool in internal/pool is singleton-managed and doesn't require explicit cleanup
|
||||
t.safeLogDebug("Memory pools managed by singleton pattern")
|
||||
|
||||
// Force garbage collection to help with memory cleanup after shutdown
|
||||
runtime.GC()
|
||||
|
||||
Reference in New Issue
Block a user