aardappel / procrastitracker

a Windows time tracking application
http://strlen.com/procrastitracker/
500 stars 53 forks source link

Fix: save database when logout or reboot/shutdown #30

Closed jt-fuw closed 7 years ago

jt-fuw commented 7 years ago

The actual master version does not save the database when procrastitracker ends due to logout or reboot/shutdown, so information collected since the last save (few minutes) is lost. The fixed version recognizes a signal received by the program in such a case and invokes save().

jt-fuw commented 7 years ago

Sorry, there is something wrong with the pull request - its diffs contain also changes from "Makefile fix (for MinGW)", which are already in your master branch.