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

Method cancel

Suscan/CancellableTask.cpp:174–185  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

172}
173
174bool
175CancellableController::cancel(void)
176{
177 if (this->task == nullptr || this->cancelledState)
178 return false;
179
180 this->cancelledState = true;
181 emit cancelling();
182 emit queuedCancel();
183
184 return true;
185}
186
187void
188CancellableController::onDone(void)

Callers 3

onDownloadCancelMethod · 0.45
onCancelRequestedMethod · 0.45
cancelByIndexMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected