Skip to content

Commit

Permalink
fix: prevent duplicate session timeout error messages (#70)
Browse files Browse the repository at this point in the history
  • Loading branch information
phantumcode authored Oct 30, 2023
1 parent cde67af commit 7cf5329
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -128,6 +128,7 @@ extension FaceLivenessDetectionViewModel: FaceDetectionResultHandler {
}

private func handleSessionTimedOut() {
noFitStartTime = nil
DispatchQueue.main.async {
self.livenessState
.unrecoverableStateEncountered(.timedOut)
Expand Down

0 comments on commit 7cf5329

Please sign in to comment.