Controller: transport leak on failed connect; CSV closed before unhook (write-after-close) #11
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
From the review.
gui/controller.py:connect()leaks the transport wheninit()/connect()raises (retry orphans sockets/threads) -> close link on failure.stop_record()closes the CSV file before unhookingstore.recorder, so the poll thread can write to a closed file -> unhook first, then close.