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: do not crash when getting NaN on Android #1140

Merged
merged 2 commits into from
Aug 8, 2024

Conversation

navaronbracke
Copy link
Collaborator

@navaronbracke navaronbracke commented Aug 8, 2024

This PR fixes a crash when the scan window encounters NaN. Also adds a regression test.

Fixes #1134

@navaronbracke navaronbracke merged commit d802051 into juliansteenbakker:master Aug 8, 2024
5 checks passed
@navaronbracke navaronbracke deleted the round_nan_bug branch August 8, 2024 11:48
joaopedro735 pushed a commit to joaopedro735/mobile_scanner that referenced this pull request Aug 22, 2024
…n_bug

fix: do not crash when getting NaN on Android
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.

Cannot round NaN excetion crushing the app
1 participant