Skip to content

Commit

Permalink
Merge pull request #79 from EssentialNRG/hotfix/null-ref-capturedevic…
Browse files Browse the repository at this point in the history
…elock

Fix possible NullReferenceException in CaptureDeviceLock on iOS
  • Loading branch information
afriscic authored Jul 8, 2024
2 parents edc5c30 + 669fd93 commit e0b980f
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -356,7 +356,7 @@ private void CaptureDeviceLock(Action action)
}
finally
{
_captureDevice.UnlockForConfiguration();
_captureDevice?.UnlockForConfiguration();
}
}
});
Expand Down

0 comments on commit e0b980f

Please sign in to comment.