Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Prevent file handles from leaking on failed open. (#67)
* Prevent file handles from leaking on failed open. Since the webcam open function only returns the open fh on success, we need to close the FH ourselves in the event that the subsequent tests fail. --------- Co-authored-by: Brian Stark <[email protected]>
- Loading branch information