You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Add a done channel to ensure the background goroutine that closes stdin exits cleanly when monitorStdin returns, not only when the context is cancelled. This prevents the goroutine from leaking if stdin closes before context cancellation.
Fixes#1664
Assisted-By: cagent
0 commit comments