Skip to content

Commit

Permalink
fix: Remove camera controller listener
Browse files Browse the repository at this point in the history
  • Loading branch information
M123-dev committed Feb 13, 2022
1 parent 5d4a883 commit 278e9e8
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/smooth_app/lib/pages/scan/ml_kit_scan_page.dart
Original file line number Diff line number Diff line change
Expand Up @@ -160,6 +160,7 @@ class MLKitScannerPageState extends State<MLKitScannerPage> {
setState(() {});
}
await _controller?.dispose();
_controller?.removeListener(() {});
_controller = null;
}

Expand Down

0 comments on commit 278e9e8

Please sign in to comment.