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

Method Invalidate

libs/drape_frontend/drape_api.cpp:61–74  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

59}
60
61void DrapeApi::Invalidate()
62{
63 DrapeEngineLockGuard lock(m_engine);
64 if (!lock)
65 return;
66
67 auto & threadCommutator = lock.Get()->m_threadCommutator;
68 threadCommutator->PostMessage(ThreadsCommutator::ResourceUploadThread,
69 make_unique_dp<DrapeApiRemoveMessage>("", true /* remove all */),
70 MessagePriority::Normal);
71
72 threadCommutator->PostMessage(ThreadsCommutator::ResourceUploadThread,
73 make_unique_dp<DrapeApiAddLinesMessage>(m_lines), MessagePriority::Normal);
74}
75} // namespace df

Callers 2

AcceptMessageMethod · 0.45
AcceptMessageMethod · 0.45

Calls 2

GetMethod · 0.45
PostMessageMethod · 0.45

Tested by

no test coverage detected