diff --git a/src/readers/BrowserCodeReader.ts b/src/readers/BrowserCodeReader.ts index d9dbfd9..0a167ca 100644 --- a/src/readers/BrowserCodeReader.ts +++ b/src/readers/BrowserCodeReader.ts @@ -752,7 +752,7 @@ export class BrowserCodeReader { const stop = () => { originalControls.stop(); - switchTorch(false); + await switchTorch(false); }; controls.stop = stop;