# Guard commitRename cleanup against concurrent renames · gitcafe/t3code

[View on GitCafe](https://git.cafe/gitcafe/t3code/commit/c530e5d50f5a77cd732c0c3e09d9ef964faea96e)

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

Visibility: public

Requested revision: c530e5d50f5a77cd732c0c3e09d9ef964faea96e

Requested commit: c530e5d50f5a77cd732c0c3e09d9ef964faea96e

Commit: c530e5d50f5a77cd732c0c3e09d9ef964faea96e

Tree: 6babde028dc19cdcb6ef939b63faed2b2e0c9b1b

Author: Julius Marminge

Committer: Julius Marminge

## Message

```
Guard commitRename cleanup against concurrent renames

After the async dispatch, only clear renamingThreadId if it still
matches the thread being renamed, preventing a second rename's
input from being cleared by the first's completion.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>

```

## Parents

- [674720c6cd233ca8c9a7b357eb954e26cae3466d](https://git.cafe/gitcafe/t3code/commit/674720c6cd233ca8c9a7b357eb954e26cae3466d?format=markdown)

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