diff --git a/lib/screens/metering/components/camera_container/bloc_container_camera.dart b/lib/screens/metering/components/camera_container/bloc_container_camera.dart index f78752d..7b96855 100644 --- a/lib/screens/metering/components/camera_container/bloc_container_camera.dart +++ b/lib/screens/metering/components/camera_container/bloc_container_camera.dart @@ -54,8 +54,8 @@ class CameraContainerBloc extends EvSourceBlocBase close() async { WidgetsBinding.instance.removeObserver(_observer); - _cameraController?.dispose(); - super.close(); + unawaited(_cameraController?.dispose()); + return super.close(); } @override @@ -110,11 +110,6 @@ class CameraContainerBloc extends EvSourceBlocBase