Showing
1 changed file
with
2 additions
and
0 deletions
| @@ -205,6 +205,8 @@ class MethodChannelMobileScanner extends MobileScannerPlatform { | @@ -205,6 +205,8 @@ class MethodChannelMobileScanner extends MobileScannerPlatform { | ||
| 205 | @override | 205 | @override |
| 206 | Future<void> stop() async { | 206 | Future<void> stop() async { |
| 207 | await methodChannel.invokeMethod<void>('stop'); | 207 | await methodChannel.invokeMethod<void>('stop'); |
| 208 | + | ||
| 209 | + _textureId = null; | ||
| 208 | } | 210 | } |
| 209 | 211 | ||
| 210 | @override | 212 | @override |
-
Please register or login to post a comment