| 57 | } |
| 58 | |
| 59 | FileCachePool::~FileCachePool() { |
| 60 | exit_ = true; |
| 61 | if (timer_) { |
| 62 | while (running_) { |
| 63 | photon::thread_usleep(1); |
| 64 | } |
| 65 | delete timer_; |
| 66 | } |
| 67 | this->stores_clear(); |
| 68 | delete mediaFs_; |
| 69 | } |
| 70 | |
| 71 | void FileCachePool::Init() { |
| 72 | traverseDir("/"); |
nothing calls this directly
no test coverage detected