mirror of
https://github.com/AsamK/signal-cli.git
synced 2026-10-28 09:09:29 +00:00
removeReceiveHandler removed the handler before it stopped the receive thread. An envelope the thread was handling then was already cached and acknowledged to the server; it reached no handler, and the cache dropped it once handled, so it was lost. While removing the last handler stops the thread, the handler stays in drainingHandlers: it still gets that envelope, but doesn't keep the thread receiving. Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>