fix: Fix FpsGraph not updating
This commit is contained in:
parent
62ca95725d
commit
315fcb68a8
@ -284,8 +284,10 @@ public final class CameraView: UIView, CameraSessionDelegate {
|
|||||||
|
|
||||||
#if DEBUG
|
#if DEBUG
|
||||||
if let fpsGraph {
|
if let fpsGraph {
|
||||||
|
DispatchQueue.main.async {
|
||||||
fpsGraph.onTick(CACurrentMediaTime())
|
fpsGraph.onTick(CACurrentMediaTime())
|
||||||
}
|
}
|
||||||
|
}
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user