mirror of
https://github.com/emersion/go-imap
synced 2026-07-04 00:48:34 +00:00
Need to always wait for the `cmd.WriteTo` to finish before returning from from `client.execute()`, otherwise another goroutine could be started before the current on finished. This data race causes random `short write` errors.