mirror of
https://github.com/moby/buildkit.git
synced 2026-10-28 16:44:37 +08:00
The existing implementations do not check for the context being canceled when `ReleaseUnreferenced` is called which has caused a bug in how the controller invokes `ReleaseUnreferenced` to be uncaught. We pass an already canceled context to the method which causes any implementations that do check the context to always fail. Signed-off-by: Jonathan A. Sternberg <jonathan.sternberg@docker.com>