Showing
1 changed file
with
1 additions
and
0 deletions
| @@ -264,6 +264,7 @@ class ZXingBarcodeReader extends WebBarcodeReaderBase | @@ -264,6 +264,7 @@ class ZXingBarcodeReader extends WebBarcodeReaderBase | ||
| 264 | }; | 264 | }; |
| 265 | controller.onCancel = () { | 265 | controller.onCancel = () { |
| 266 | _reader?.stopContinuousDecode(); | 266 | _reader?.stopContinuousDecode(); |
| 267 | + controller.close(); | ||
| 267 | }; | 268 | }; |
| 268 | return controller.stream; | 269 | return controller.stream; |
| 269 | } | 270 | } |
-
Please register or login to post a comment