compose/cmd
maks2134 25b29d776b Fix deadlock in ttyWriter.Done()
Resolves race condition between main thread calling Done() and UI thread
calling printWithDimensions(). The issue was that Done() held the mutex
while sending to the done channel, but the UI thread needed the same
mutex to process the done signal.

Fixed by sending the done signal before acquiring the mutex, allowing
the UI thread to receive the signal and release any held locks.

Fixes #13639

Signed-off-by: maks2134 <maks210306@yandex.by>
2026-03-18 16:23:34 +01:00
..
cmdtrace golangci-lint: use gci formatter instead of goimports 2025-12-01 12:21:50 +01:00
compatibility modernize some code 2026-02-12 15:31:35 +01:00
compose modernize some code 2026-02-12 15:31:35 +01:00
display Fix deadlock in ttyWriter.Done() 2026-03-18 16:23:34 +01:00
formatter modernize some code 2026-02-12 15:31:35 +01:00
prompt golangci-lint: use gci formatter instead of goimports 2025-12-01 12:21:50 +01:00
main.go golangci-lint: use gci formatter instead of goimports 2025-12-01 12:21:50 +01:00