Skip to content

Commit

Permalink
fix(predictions): update liveness websocket send event to be synchron…
Browse files Browse the repository at this point in the history
…ous (#3693)
  • Loading branch information
phantumcode authored May 14, 2024
1 parent d888124 commit 9fa521f
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ public final class FaceLivenessSession: LivenessService {
_ event: LivenessEvent<T>,
eventDate: @escaping () -> Date = Date.init
) {
livenessServiceDispatchQueue.async {
livenessServiceDispatchQueue.sync {
let encodedPayload = self.eventStreamEncoder.encode(
payload: event.payload,
headers: [
Expand Down

0 comments on commit 9fa521f

Please sign in to comment.