mirror of
https://github.com/coder/coder.git
synced 2026-09-23 14:03:57 +08:00
Fixes https://github.com/coder/internal/issues/214 #15475 missed that we also write to `rpty` after starting `rpty.lifecycle()`. This PR moves the function call right at the end. Hopefully this should address the data races before we go resorting to mutexes.