MCPcopy Create free account
hub / github.com/Redot-Engine/redot-engine / ~WorkerThreadPool

Method ~WorkerThreadPool

core/object/worker_thread_pool.cpp:937–948  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

935}
936
937WorkerThreadPool::~WorkerThreadPool() {
938 finish();
939
940 if (this == singleton) {
941 singleton = nullptr;
942 for (KeyValue<StringName, WorkerThreadPool *> &E : named_pools) {
943 E.value->finish();
944 memdelete(E.value);
945 }
946 named_pools.clear();
947 }
948}

Callers

nothing calls this directly

Calls 3

memdeleteFunction · 0.85
finishMethod · 0.45
clearMethod · 0.45

Tested by

no test coverage detected