compose/cmd/display
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
..
colors.go move progress UI components into cmd 2025-11-12 11:17:28 +01:00
dryrun.go make DRYRUN_PREFIX a display attribute, move DryRunClient out of pkg/api 2025-11-12 11:17:28 +01:00
json.go next release will be major version v5.x 2025-11-13 09:32:43 +01:00
json_test.go golangci-lint: use gci formatter instead of goimports 2025-12-01 12:21:50 +01:00
mode.go move progress UI components into cmd 2025-11-12 11:17:28 +01:00
plain.go next release will be major version v5.x 2025-11-13 09:32:43 +01:00
quiet.go next release will be major version v5.x 2025-11-13 09:32:43 +01:00
spinner.go move progress UI components into cmd 2025-11-12 11:17:28 +01:00
tty.go Fix deadlock in ttyWriter.Done() 2026-03-18 16:23:34 +01:00
tty_test.go Fix deadlock in ttyWriter.Done() 2026-03-18 16:23:34 +01:00