Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: Add missing await #116

Merged
merged 1 commit into from
Jun 9, 2023
Merged

fix: Add missing await #116

merged 1 commit into from
Jun 9, 2023

Conversation

ddoice
Copy link
Contributor

@ddoice ddoice commented Jun 8, 2023

controls.stop

This line is missing an await when calling switchTorch, so if it fails theres no way to capture the error in a try catch.

switchTorch(false);

image

@ddoice
Copy link
Contributor Author

ddoice commented Jun 9, 2023

Can you help me please @werthdavid ?

@werthdavid werthdavid merged commit 4273ff1 into zxing-js:master Jun 9, 2023
@werthdavid
Copy link
Member

Thanks, much appreciated!

@werthdavid
Copy link
Member

I need so fix the delivery workflow to create a new release though. Maybe later today

werthdavid added a commit that referenced this pull request Jun 9, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants