private void Unlock() { if (samples != null) { target.Unlock(); } samples = null; }
private void Unlock() { if (raw != IntPtr.Zero) { target.Unlock(); } raw = IntPtr.Zero; }