Skip to content

Commit

Permalink
Merge pull request ugol#213 from vgrichina/master
Browse files Browse the repository at this point in the history
Persisting stats right after pomodoro is finished
  • Loading branch information
ugo landini committed Jun 29, 2011
2 parents bd3eaed + c1b681b commit fac60cb
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Pomodoro/src/PomodoroController.m
Original file line number Diff line number Diff line change
Expand Up @@ -462,6 +462,8 @@ -(void) pomodoroFinished:(NSNotification*) notification {
}
[self updateMenu];

// Save stats here in case application is forcefully terminated
[stats saveState];
}

- (void) oncePerSecondBreak:(NSNotification*) notification {
Expand Down

0 comments on commit fac60cb

Please sign in to comment.