Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // If this is the last stage with pending tasks, mark the scheduler queue as empty
- // This is needed in case the stage is aborted for any reason
- if (stageIdToNumTasks.isEmpty) {
- allocationManager.onSchedulerQueueEmpty()
- if (numRunningTasks != 0) {
- logWarning("No stages are running, but numRunningTasks != 0")
- numRunningTasks = 0
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement