Skip to content

Tags: baku89/tethr

Tags

v0.6.4

Toggle v0.6.4's commit message
Fix UI freeze when camera disconnects during liveview (v0.6.4)

Powering off the camera mid-liveview fired the WebUSB `disconnect`
event, but nothing stopped PTPDevice's internal loops, so they kept
hammering the dead device and froze the renderer:

- PTPDevice#listenDisconnect now marks the device closed and clears the
  command queue on disconnect.
- PTPDevice#listenInterruptIn returns instead of throwing when the
  device is gone, and only reschedules itself while still open.
- TethrSigma#updateLiveviewFrame detaches itself from the queue `idle`
  event once the device is closed, and swallows per-frame fetch errors
  so a disconnect can't surface as an unhandled rejection.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>

v0.2.0

Toggle v0.2.0's commit message
0.2.0

v0.1.0

Toggle v0.1.0's commit message
0.1.0