MCPcopy Create free account
hub / github.com/BatchDrake/SigDigger / cancelByIndex

Method cancelByIndex

Suscan/MultitaskController.cpp:244–249  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

242}
243
244void
245MultitaskController::cancelByIndex(int index)
246{
247 if (index >= 0 && index < this->taskVec.size())
248 this->taskVec[index]->task()->cancel();
249}
250
251void
252MultitaskController::removeTaskContext(CancellableTaskContext *ctx)

Callers 1

onCancelClickedMethod · 0.80

Calls 3

taskMethod · 0.80
sizeMethod · 0.45
cancelMethod · 0.45

Tested by

no test coverage detected