| 56 | } |
| 57 | |
| 58 | void ViewPreloader::stopPreload() { |
| 59 | std::lock_guard<std::mutex> lock(_mutex); |
| 60 | while (!_preloadCountByClassName.empty()) { |
| 61 | _preloadCountByClassName.erase(_preloadCountByClassName.begin()); |
| 62 | } |
| 63 | } |
| 64 | |
| 65 | void ViewPreloader::schedulePreload() { |
| 66 | auto strongThis = strongRef(this); |
no test coverage detected