ML-95 Live histogram (#100)

* Removed redundant `stopImageStream()`
This commit is contained in:
Vadim 2023-08-08 11:46:43 +02:00 committed by GitHub
parent 9c11401175
commit d91441bac9
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -28,7 +28,9 @@ class _CameraHistogramState extends State<CameraHistogram> {
@override @override
void dispose() { void dispose() {
widget.controller.stopImageStream(); /// There is no need to stop image stream here,
/// because this widget will be disposed when CameraController is disposed
/// widget.controller.stopImageStream();
super.dispose(); super.dispose();
} }