Navaron Bracke

set texture id to null in stop()

@@ -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