mirror of
https://github.com/docker/cli.git
synced 2026-01-13 18:22:35 +03:00
TestPluginTrustedInstall revealed a race in the plugin shutdown logic, where the exit channel signal was sent even before the propagated mounts were unmounted. If the same plugin was enabled, it would try to setup propagated mounts *before* it was unmounted resulting in errors. This change fixes the behavior by waiting until the unmount completes on disable before marking the plugin as disabled. Signed-off-by: Anusha Ragunathan <anusha.ragunathan@docker.com> Upstream-commit: 70b76266b586d193c333aa37dcda031f3d89f108 Component: engine