# Capture threadId before async send flow · screen/t3code-personal

[View on GitCafe](https://git.cafe/screen/t3code-personal/commit/f6e7166e7955af6c06881cfecf6d869854cf191e)

Repository: [screen/t3code-personal](https://git.cafe/screen/t3code-personal)

Visibility: public

Requested revision: f6e7166e7955af6c06881cfecf6d869854cf191e

Requested commit: f6e7166e7955af6c06881cfecf6d869854cf191e

Commit: f6e7166e7955af6c06881cfecf6d869854cf191e

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

- [2da82900409fe231fb913df2c61b580f1a453924](https://git.cafe/screen/t3code-personal/commit/2da82900409fe231fb913df2c61b580f1a453924?format=markdown)

[Source at this commit](https://git.cafe/screen/t3code-personal/tree/f6e7166e7955af6c06881cfecf6d869854cf191e?format=markdown)
