Skip to content

Commit

Permalink
Merge pull request #116 from ddoice/fix/missing-await-in-close
Browse files Browse the repository at this point in the history
  • Loading branch information
werthdavid authored Jun 9, 2023
2 parents 9e0ef5e + 30c92fc commit 4273ff1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/readers/BrowserCodeReader.ts
Original file line number Diff line number Diff line change
Expand Up @@ -752,7 +752,7 @@ export class BrowserCodeReader {

const stop = () => {
originalControls.stop();
switchTorch(false);
await switchTorch(false);
};

controls.stop = stop;
Expand Down

0 comments on commit 4273ff1

Please sign in to comment.