[Bug]: Settling a thread doesn't release the Android device session, blocking other threads from using it#32511

opened3d agobyCCasual76

Before submitting

  • I searched existing issues and did not find a duplicate.
  • I included enough detail to reproduce or investigate the problem.

Area

apps/desktop

Steps to reproduce

  1. Open thread A with device access enabled and an Android device connected via adb (device preview visible)
  2. Ask the agent to do some work that uses the device
  3. Let the agent finish without explicitly stopping the device session
  4. Settle thread A
  5. Open thread B and try to use the same device

Expected behavior

Settling a thread releases its device session, so other threads can use the device right away

Actual behavior

The device stays held by the settled thread. Thread B can't use it until I find thread A, reopen it, and ask the agent to stop using the device. Since agents often finish without stopping the session, this happens a lot whenever I work across multiple threads

Impact

Major degradation or frequent failure

Version or commit

0.1.8-nightly.20261107.4314

Environment

Windows 11, codex gpt 6.1 sol

Logs or stack traces

shell
1

Screenshots, recordings, or supporting files

No response

Workaround

Find the settled thread that holds the device and ask its agent to stop using the device