mirror of
https://github.com/vodemn/m3_lightmeter.git
synced 2024-11-21 23:10: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
|
@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();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue