Files
moby/daemon/command
Sebastiaan van Stijn 6e7e2aefa5 daemon/command: setupConfigReloadTrap: handle context cancellation
Pass the daemon lifecycle context to the config reload trap and stop the
Unix signal handler when the context is canceled. This also unregisters
the SIGHUP notification when the goroutine exits.

On Windows, signal the Win32 event when the context is canceled to wake
the blocking wait and allow the reload goroutine to exit.

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2026-10-06 12:11:28 +02:00
..