Skip to content

Commit 30c92fc

Browse files
committed
fix: Add missing await
1 parent 9e0ef5e commit 30c92fc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/readers/BrowserCodeReader.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -752,7 +752,7 @@ export class BrowserCodeReader {
752752

753753
const stop = () => {
754754
originalControls.stop();
755-
switchTorch(false);
755+
await switchTorch(false);
756756
};
757757

758758
controls.stop = stop;

0 commit comments

Comments
 (0)