t-oster / VisiCam

A Java application, that turns a webcam into a VisiCut compatible network camera with marker detection and perspective correction. Uses OpenCV through JavaCV
Other
36 stars 12 forks source link

visicamRPiGPU: Close all files correctly #18

Closed FroChr123 closed 9 years ago

FroChr123 commented 9 years ago

As it seems I missed the closing of file descriptors, its a bit confusing that the File class in Java is not responsible for that, but its spread around other classes. :)

Ran 30 minutes now with 50ms intervals without getting into trouble because of it, when I got the error I think the time interval was way smaller.