skaffold icon indicating copy to clipboard operation
skaffold copied to clipboard

fix: guard ContainerManager.active map with a mutex

Open alliasgher opened this issue 7 months ago • 0 comments

Fixes #9081. ContainerManager.active is a plain map accessed from the goroutine in Start (via checkPod) without synchronisation, causing a fatal "concurrent map read and map write" crash. Add a sync.Mutex and lock around the map access.

alliasgher avatar Apr 14 '26 09:04 alliasgher