mirror of
https://github.com/vodemn/m3_lightmeter.git
synced 2024-11-21 15:00:40 +00:00
parent
9c11401175
commit
d91441bac9
1 changed files with 3 additions and 1 deletions
|
@ -28,7 +28,9 @@ class _CameraHistogramState extends State<CameraHistogram> {
|
|||
|
||||
@override
|
||||
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();
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue