MCPcopy Create free account
hub / github.com/Project-LemonLime/Project_LemonLime / stop

Method stop

src/core/judgingcontroller.cpp:65–73  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

63 }
64}
65void JudgingController::stop() {
66 if (! isJudging)
67 return;
68 isJudging = false;
69 for (auto [taskJudger, thread] : runningTasks.toStdMap()) {
70 QMetaObject::invokeMethod(taskJudger, &TaskJudger::stop);
71 }
72 // emit judgeFinished();
73}
74void JudgingController::addTask(TaskJudger *taskJudger) { queuingTasks.push_back(taskJudger); }

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected