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().
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.
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().