Skip to content
Snippets Groups Projects
Commit e13863ab authored by sfphoton's avatar sfphoton
Browse files

Bugfix: While RR is stopped, the previously active task will count waiting time too.

parent 793ed13b
No related branches found
No related tags found
No related merge requests found
......@@ -44,6 +44,7 @@ public class RR {
public void tick() {
if(!enabled) {
//System.out.println("Running RR: " + ((activeTask == null) ? "null" : activeTask.name));
if (activeTask != null) activeTask.waitOne();
for(Task t : waitingQueue) t.waitOne();
return;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment