MCPcopy Create free account
hub / github.com/Codeya-IDE/deepin-ide / ~UTTaskPool

Method ~UTTaskPool

src/plugins/smartut/manager/uttaskpool.cpp:22–34  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

20}
21
22UTTaskPool::~UTTaskPool()
23{
24 stop(false);
25 for (auto iter = busyModels.cbegin(); iter != busyModels.cend(); ++iter) {
26 qDeleteAll(iter.value());
27 }
28 busyModels.clear();
29
30 for (auto iter = idleModels.cbegin(); iter != idleModels.cend(); ++iter) {
31 qDeleteAll(iter.value());
32 }
33 idleModels.clear();
34}
35
36void UTTaskPool::addGenerateTask(const Task &task)
37{

Callers

nothing calls this directly

Calls 4

cbeginMethod · 0.80
cendMethod · 0.80
valueMethod · 0.45
clearMethod · 0.45

Tested by

no test coverage detected