| 1165 | allocator->removeSlave(slave->id); |
| 1166 | |
| 1167 | foreachkey (const FrameworkID& frameworkId, utils::copy(slave->tasks)) { |
| 1168 | foreachvalue (Task* task, utils::copy(slave->tasks[frameworkId])) { |
| 1169 | removeTask(task); |
| 1170 | } |
| 1171 | } |
| 1172 | |
| 1173 | // Remove executors. |
| 1174 | foreachkey (const FrameworkID& frameworkId, utils::copy(slave->executors)) { |
nothing calls this directly
no test coverage detected