ejmg / tomaty

tomaty is a gtk+3 based application for the pomodoro technique 🍅
MIT License
6 stars 1 forks source link

Timer counts way too fast if button is pressed rapidly #54

Closed ejmg closed 6 years ago

ejmg commented 6 years ago

as of 1.0.0, it appears that presses the stop/restart button repeatedly and quickly results in a counter that goes way too fast. I probably have failed to account for Glib.SOURE_REMOVE somewhere with the restart logic.

ejmg commented 6 years ago

idea: store timeout_id's, kill any old ones whenever a new one is added.