FastAndroidCamera
FastAndroidCamera copied to clipboard
Example in readme has redundant disposal statement
The readme file says:
...
using (FastJavaByteArray buffer = new FastJavaByteArray(numBytes))
{
// allocate new Java byte arrays for Android to use for preview frames
camera.AddCallbackBuffer(new FastJavaByteArray(numBytes));
}
...
Unless I'm missing something, the variable buffer is simply instantiated and disposed without ever actually being used. Isn't this enclosing using{} statement redundant?