MCPcopy Create free account
hub / github.com/comaps/comaps / CancelTileInfo

Method CancelTileInfo

libs/drape_frontend/read_manager.cpp:276–281  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

274}
275
276void 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
283void ReadManager::ClearTileInfo(std::shared_ptr<TileInfo> const & tileToClear)
284{

Callers

nothing calls this directly

Calls 2

eraseMethod · 0.45
CancelMethod · 0.45

Tested by

no test coverage detected