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

Timer hangs when interval is 0ms #187

Closed
BenjaminDRichards opened this issue Feb 24, 2015 · 1 comment
Closed

Timer hangs when interval is 0ms #187

BenjaminDRichards opened this issue Feb 24, 2015 · 1 comment
Assignees
Labels
Milestone

Comments

@BenjaminDRichards
Copy link
Contributor

It shouldn't be particularly surprising, and people really shouldn't create 0-length timeouts or intervals anyway, but sometimes it happens by accident (in a for loop, for example).

Suggest sanitizing the input and flashing a warning message.

@BenjaminDRichards BenjaminDRichards self-assigned this Feb 24, 2015
@BenjaminDRichards BenjaminDRichards added this to the v1.3.0 milestone Feb 24, 2015
@BenjaminDRichards
Copy link
Contributor Author

delay now must be greater than 0, or it will remain at default (0.016 clock units) and report a helpful error message.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant