# fix\(server\): changing the permission mode no longer ends the running turn · pingdotgg/t3code

[View on GitCafe](https://git.cafe/pingdotgg/t3code/commit/7d2f9afa530ffaa31e5b7335d2bb59b9f585f01a)

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

Visibility: public

Requested revision: 7d2f9afa530ffaa31e5b7335d2bb59b9f585f01a

Requested commit: 7d2f9afa530ffaa31e5b7335d2bb59b9f585f01a

Commit: 7d2f9afa530ffaa31e5b7335d2bb59b9f585f01a

Tree: 14dbb313e5c2f635e2031e058eaf9f73c2044e53

Author: MacKinley Smith

Committer: MacKinley Smith

## Message

```
fix(server): changing the permission mode no longer ends the running turn

A runtime mode change detached every session that cannot switch modes in place, which killed the running turn and its background work. The session now restarts at the next turn instead, and waits while background work is still running.

```

## Parents

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

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