Advertisement
Guest User

Untitled

a guest
Aug 26th, 2016
66
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.38 KB | None | 0 0
  1. // If this is the last stage with pending tasks, mark the scheduler queue as empty
  2. // This is needed in case the stage is aborted for any reason
  3. if (stageIdToNumTasks.isEmpty) {
  4. allocationManager.onSchedulerQueueEmpty()
  5. if (numRunningTasks != 0) {
  6. logWarning("No stages are running, but numRunningTasks != 0")
  7. numRunningTasks = 0
  8. }
  9. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement