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
2023-11-08 18:14:02 +0100
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
92d400cd54cf8f1cbd89b44fc3941b75063403b4
92d400cd
1 parent
a807d6ff
do nothing in stop if texture id is null
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
0 deletions
lib/src/method_channel/mobile_scanner_method_channel.dart
lib/src/method_channel/mobile_scanner_method_channel.dart
View file @
92d400c
...
...
@@ -276,6 +276,10 @@ class MethodChannelMobileScanner extends MobileScannerPlatform {
@override
Future
<
void
>
stop
()
async
{
if
(
_textureId
==
null
)
{
return
;
}
await
methodChannel
.
invokeMethod
<
void
>(
'stop'
);
_textureId
=
null
;
...
...
Please
register
or
login
to post a comment