# Capture threadId before async send flow · flambo/t3code

[View on GitCafe](https://git.cafe/flambo/t3code/commit/2601014b6ba43418a7fbf30ef971f04aae641ce7)

Repository: [flambo/t3code](https://git.cafe/flambo/t3code)

Visibility: public

Requested revision: 2601014b6ba43418a7fbf30ef971f04aae641ce7

Requested commit: 2601014b6ba43418a7fbf30ef971f04aae641ce7

Commit: 2601014b6ba43418a7fbf30ef971f04aae641ce7

Tree: afb87b333f93ca3ef8f242fc8f84bf9072757aa9

Author: Julius Marminge

Committer: Julius Marminge

## Message

```
Capture threadId before async send flow

- Store `activeThread.id` once at send start and reuse it
- Prevents updates/errors from targeting the wrong thread during async worktree/send steps

```

## Parents

- [fcff298d75bf7d8add2eb886b4f5d1b0c1943896](https://git.cafe/flambo/t3code/commit/fcff298d75bf7d8add2eb886b4f5d1b0c1943896?format=markdown)

[Source at this commit](https://git.cafe/flambo/t3code/tree/2601014b6ba43418a7fbf30ef971f04aae641ce7?format=markdown)
