Toggle navigation
Toggle navigation
This project
Loading...
Sign in
flutter_package
/
mobile_scanner
Go to a project
Toggle navigation
Projects
Groups
Snippets
Help
Toggle navigation pinning
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Authored by
Navaron Bracke
2024-01-08 11:36:04 +0100
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
1822f2cf8c8630e463ca9f895d2cee8debb3d748
1822f2cf
1 parent
035590ac
ensure the MobileScanner widget calls `super.dispose()` first
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
lib/src/mobile_scanner.dart
lib/src/mobile_scanner.dart
View file @
1822f2c
...
...
@@ -186,8 +186,8 @@ class _MobileScannerState extends State<MobileScanner> {
@override
void
dispose
()
{
// When this widget is unmounted, reset the scan window.
widget
.
controller
.
updateScanWindow
(
null
);
super
.
dispose
();
// When this widget is unmounted, reset the scan window.
unawaited
(
widget
.
controller
.
updateScanWindow
(
null
));
}
}
...
...
Please
register
or
login
to post a comment