[new downloader] Fixed download dialog notification after map delete.

This commit is contained in:
Ilya Grechuhin 2016-03-17 13:37:00 +03:00 committed by Sergey Yershov
parent 0f824fa412
commit db5f2095f6

View file

@ -490,6 +490,9 @@ bool Framework::OnCountryFileDelete(storage::TCountryId const & countryId, stora
// Soft reset to signal that mwm file may be out of date in routing caches.
m_routingSession.Reset();
if (countryId == m_lastReportedCountry)
m_lastReportedCountry = kInvalidCountryId;
if(auto handle = m_lastQueryHandle.lock())
handle->Cancel();