mirror of
https://github.com/Yubico/yubioath-flutter.git
synced 2024-12-23 18:22:39 +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() {
|
override fun dispose() {
|
||||||
cameraProvider?.unbindAll()
|
cameraProvider?.unbindAll()
|
||||||
preview = null
|
preview = null
|
||||||
|
imageAnalyzer?.clearAnalyzer();
|
||||||
imageAnalyzer = null
|
imageAnalyzer = null
|
||||||
cameraExecutor.shutdown()
|
cameraExecutor.shutdown()
|
||||||
methodChannel.setMethodCallHandler(null)
|
methodChannel.setMethodCallHandler(null)
|
||||||
|
Loading…
Reference in New Issue
Block a user