| 471 | } |
| 472 | |
| 473 | NetManager::~NetManager() |
| 474 | { |
| 475 | mThreadPool.Shutdown(); |
| 476 | |
| 477 | for (auto kv : mCachedResults) |
| 478 | { |
| 479 | delete kv.mValue; |
| 480 | } |
| 481 | } |
| 482 | |
| 483 | NetRequest* NetManager::CreateGetRequest(const StringImpl& url, const StringImpl& destPath, bool useCache) |
| 484 | { |