mirror of
https://github.com/Yubico/yubioath-flutter.git
synced 2024-12-23 10:11:52 +03:00
clear analyzer when QR code scanner closes
This commit is contained in:
parent
0307cc100a
commit
6fee72490a
@ -120,6 +120,7 @@ internal class QRScannerView(
|
||||
override fun dispose() {
|
||||
cameraProvider?.unbindAll()
|
||||
preview = null
|
||||
imageAnalyzer?.clearAnalyzer();
|
||||
imageAnalyzer = null
|
||||
cameraExecutor.shutdown()
|
||||
methodChannel.setMethodCallHandler(null)
|
||||
|
Loading…
Reference in New Issue
Block a user