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

Function CancelQuery

libs/map/search_api.cpp:43–48  ·  view source on GitHub ↗

Cancels search query by |handle|.

Source from the content-addressed store, hash-verified

41
42// Cancels search query by |handle|.
43void CancelQuery(weak_ptr<ProcessorHandle> & handle)
44{
45 if (auto queryHandle = handle.lock())
46 queryHandle->Cancel();
47 handle.reset();
48}
49
50bookmarks::Id KmlMarkIdToSearchBookmarkId(kml::MarkId id)
51{

Callers 2

CancelSearchMethod · 0.85
SearchMethod · 0.85

Calls 3

lockMethod · 0.80
CancelMethod · 0.45
resetMethod · 0.45

Tested by

no test coverage detected