[search] Fix searchEmitResultsAndCoords: include results from lastUpdate.

This commit is contained in:
tatiana-yan 2019-02-04 12:04:16 +03:00 committed by mpimenov
parent d5d173c3c4
commit caaf4b8d77

View file

@ -432,11 +432,11 @@ void Processor::Search(SearchParams const & params)
LOG(LDEBUG, ("Search has been cancelled."));
}
if (!viewportSearch && !IsCancelled())
SendStatistics(params, viewport, m_emitter.GetResults());
// Emit finish marker to client.
m_geocoder.Finish(IsCancelled());
if (!viewportSearch && !IsCancelled())
SendStatistics(params, viewport, m_emitter.GetResults());
}
void Processor::SearchCoordinates()