Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Replace os.OpenFile with unix.Open to avoid blocking write operations #15

Merged
merged 2 commits into from
Mar 7, 2018

Conversation

colin-davis
Copy link
Contributor

Solves Issue #14

I have ave not extensively tested yet but these are the suggested changes for your review.

To Check:

I updated webcam.Close to use the int = unix.Close(fd) (we don't have the *os.File anymore). I believe this is the only spot to close the file?

@blackjack
Copy link
Owner

Hi! Thanks for your PR. Could you please make Travis happy?

@blackjack blackjack merged commit e904897 into blackjack:master Mar 7, 2018
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.

None yet

2 participants