Display global stats even when the session has no job

This commit is contained in:
Laurent Clouet
2019-09-09 10:25:12 +02:00
parent 86a02015a2
commit 56239ae6dd
2 changed files with 10 additions and 9 deletions

View File

@@ -282,7 +282,6 @@ public class Client {
int time_sleep = 1000 * 60 * wait;
Date wakeup_time = new Date(new Date().getTime() + time_sleep);
this.gui.status(String.format("No job available. Sleeping for %d minutes (will wake up at %tR)", wait, wakeup_time));
this.gui.displayStats(new Stats());
this.suspended = true;
int time_slept = 0;
while (time_slept < time_sleep && this.running == true) {