| 34 | } |
| 35 | |
| 36 | void DrapeApi::RemoveLine(std::string const & id) |
| 37 | { |
| 38 | DrapeEngineLockGuard lock(m_engine); |
| 39 | if (!lock) |
| 40 | return; |
| 41 | |
| 42 | auto & threadCommutator = lock.Get()->m_threadCommutator; |
| 43 | m_lines.erase(id); |
| 44 | threadCommutator->PostMessage(ThreadsCommutator::ResourceUploadThread, make_unique_dp<DrapeApiRemoveMessage>(id), |
| 45 | MessagePriority::Normal); |
| 46 | } |
| 47 | |
| 48 | void DrapeApi::Clear() |
| 49 | { |
no test coverage detected