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

[BUG] The app crash when spamming "play" and "stop" button #51

Open
pioupia opened this issue Jan 8, 2023 · 0 comments
Open

[BUG] The app crash when spamming "play" and "stop" button #51

pioupia opened this issue Jan 8, 2023 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@pioupia
Copy link
Owner

pioupia commented Jan 8, 2023

The app crash when spamming "play" and "stop" button

Issue description

When you are spamming the button play and stop top start and end a new trip in less than 5s, the app is crashing because of Timer line 180.

Reproduce the bug

Steps to reproduce the behavior:

  1. Open the app
  2. Click on the start button
  3. Click on the end button
  4. See error

Expected behavior

Just stopping the record.

Additional context
The trip who that last less than 30s should be ignored unless the user requests it via a popup. And should not be able to last less than 5 seconds.

@pioupia pioupia added the bug Something isn't working label Jan 8, 2023
@pioupia pioupia self-assigned this Jan 8, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant