fragment attached crash check
@@ -506,6 +506,7 @@ public class LoggerFragment extends CameraFragment implements ServerCommunicatio
protected void processFrame(Bitmap bitmap, ImageProxy image) {
++frameNum;
if (binding != null) {
+ if (isAdded())
requireActivity()
.runOnUiThread(
() ->
