Skip to content

Fix hang at end of camera firmware upload - #525

Merged
thp merged 1 commit into
masterfrom
camera-firmware-upload-hang
Aug 5, 2026
Merged

Fix hang at end of camera firmware upload#525
thp merged 1 commit into
masterfrom
camera-firmware-upload-hang

Conversation

@thp

@thp thp commented Aug 5, 2026

Copy link
Copy Markdown
Owner

In my tests, libusb_exit() sometimes hung after firmware upload (because the device got disconnected right after we uploaded the firmware, and we didn't call libusb_close() on the device). As the process exits immediately afterwards, let's skip the cleanup and let the OS take care of it.

@thp
thp merged commit 256b629 into master Aug 5, 2026
4 checks passed
@thp
thp deleted the camera-firmware-upload-hang branch August 5, 2026 17:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant