| 274 | } |
| 275 | |
| 276 | void ReadManager::CancelTileInfo(std::shared_ptr<TileInfo> const & tileToCancel) |
| 277 | { |
| 278 | std::lock_guard<std::mutex> lock(m_finishedTilesMutex); |
| 279 | m_activeTiles.erase(tileToCancel->GetTileKey()); |
| 280 | tileToCancel->Cancel(); |
| 281 | } |
| 282 | |
| 283 | void ReadManager::ClearTileInfo(std::shared_ptr<TileInfo> const & tileToClear) |
| 284 | { |