mirror of
https://github.com/docker/cli.git
synced 2026-01-16 20:22:36 +03:00
Start a goroutine which runs every 30 seconds and if there are deferred deleted devices, it tries to clean those up. Also it moves the call to cleanupDeletedDevices() into goroutine and moves the locking completely inside the function. Now function does not assume that device lock is held at the time of entry. Signed-off-by: Vivek Goyal <vgoyal@redhat.com> Upstream-commit: 87de04005d61ab986d70a31e3ac82ec92912df55 Component: engine