mirror of
https://github.com/simplex-chat/simplex-chat.git
synced 2026-11-04 19:27:55 +00:00
addTerminalItem is the only writer of terminalItems and runs on the caller's thread while no console is open. Concurrent calls could throw in subList, lose rows, or leave the list above its cap. Make it synchronized. Fixes #7755