Skip to content
This repository has been archived by the owner on May 1, 2024. It is now read-only.

Commit

Permalink
CameraView: fixed leak on UWP not cleaning up MediaCapture object for…
Browse files Browse the repository at this point in the history
… preview (#1951)

Co-authored-by: Pedro Jesus <pedrojesus.cefet@gmail.com>
  • Loading branch information
MFinkBK and pictos committed Apr 20, 2023
1 parent 89a363e commit 6167ed4
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -365,7 +365,7 @@ async Task InitializeCameraAsync()
{
Control.Source = mediaCapture;
await mediaCapture.StartPreviewAsync();
isPreviewing = false;
isPreviewing = true;
IsBusy = false;
Available = true;
}
Expand Down

0 comments on commit 6167ed4

Please sign in to comment.