Skip to content

Commit da4062f

Browse files
committed
🚑️ Remove redundant dispose with the controller
1 parent 0df6294 commit da4062f

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

lib/src/widgets/camera_picker.dart

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -297,7 +297,6 @@ class CameraPickerState extends State<CameraPicker>
297297
SystemChrome.setEnabledSystemUIOverlays(SystemUiOverlay.values);
298298
}
299299
WidgetsBinding.instance?.removeObserver(this);
300-
controller.dispose();
301300
_controller?.dispose();
302301
_currentExposureOffset.dispose();
303302
_lastExposurePoint.dispose();

0 commit comments

Comments
 (0)