mirror of
https://github.com/moby/buildkit.git
synced 2026-11-06 05:16:45 +00:00
A build still running when its job was discarded stored its results in states that were already released, leaking them. Keep the states until the last running build returns, and reject new builds on a discarded job. Release refs of a gateway solve that returns after the forwarder was discarded. Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>