mirror of
https://github.com/coder/coder.git
synced 2026-06-02 20:48:20 +00:00
f34b5000cb
The device keeps logging to the logger even after `dev.Close()` but doing that with `t.Log` is unsafe (test has ended). This is why `slogtest` was used. `dev.Close()` has a wait on encryption and decryption routines, however, these are left running even after the wait. The implementation uses the WaitGroups in a weird way.