Controller: transport leak on failed connect; CSV closed before unhook (write-after-close) #11

Closed
opened 2026-07-01 19:22:48 -04:00 by claude · 0 comments

From the review. gui/controller.py:

  • connect() leaks the transport when init()/connect() raises (retry orphans sockets/threads) -> close link on failure.
  • stop_record() closes the CSV file before unhooking store.recorder, so the poll thread can write to a closed file -> unhook first, then close.
From the review. `gui/controller.py`: - `connect()` leaks the transport when `init()`/`connect()` raises (retry orphans sockets/threads) -> close link on failure. - `stop_record()` closes the CSV file before unhooking `store.recorder`, so the poll thread can write to a closed file -> unhook first, then close.
claude added the bugP2 labels 2026-07-01 19:22:48 -04:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: justin/obdash#11