mirror of
https://github.com/coder/coder.git
synced 2026-06-03 13:08:25 +00:00
5f3a53f01b
fixes https://github.com/coder/internal/issues/525 If the context is canceled, the goroutine that is supposed to read from the `errCh` could exit prematurely, leading to a goroutine leak. Refactors this code so it cannot block.