Closed irtemed88 closed 3 years ago
Looks good - can you confirm you tested in
StandardCyborgExample
too?
@jeffchuber - Yep I built + ran StandardCyborgExample
with the change and scanning is still working. If there was an issue I think a simple test would have caught it since I was observing strange behavior like the camera freezing up or crashing in unexpected places.
If this looks good lmk and I'll merge.
@irtemed88 sounds good!
Turns out the management of this state is a bit more fragile than I originally thought. The underlying session is modified asynchronously meaning in some cases the reading of the top-level
paused
value could be incorrect.We’ll need to take a deeper more thoughtful dive into this in the future if we want to keep the value derived.
Also with this change we revert the
isFocusLocked
since the both changes were necessary to support my new implementation (the one we’re reverting)