jsmidgen icon indicating copy to clipboard operation
jsmidgen copied to clipboard

translateTickTime() hangs when provided with wrong input

Open zolaemil opened this issue 6 years ago • 0 comments

Calling translateTickTime() with a negative value causes the loop to go on forever.

Since this is particularly bad way of failing, in fact never failing, I think it would be nice to add an input check for this case.

zolaemil avatar Oct 24 '17 15:10 zolaemil