mirror of
https://github.com/vodemn/m3_lightmeter.git
synced 2024-11-25 00:40:39 +00:00
Removed redundant stopImageStream()
This commit is contained in:
parent
0e6f050213
commit
7046b06bd8
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