mirror of
https://github.com/lukaszraczylo/traefikoidc.git
synced 2026-10-14 04:07:46 +00:00
Weekend fun with memory leaks
This commit is contained in:
@@ -45,6 +45,9 @@ func resetGlobalState() {
|
||||
globalMemoryPools = nil
|
||||
memoryPoolOnce = sync.Once{}
|
||||
memoryPoolMutex.Unlock()
|
||||
|
||||
// Reset global task registry to clear all background tasks
|
||||
ResetGlobalTaskRegistry()
|
||||
}
|
||||
|
||||
// testCleanup provides comprehensive cleanup for tests to prevent goroutine leaks
|
||||
|
||||
Reference in New Issue
Block a user