Ref T786, make sure callbacks are called in correct thread

* callback.singleShot
* shutdown guards, "myself"
* BLACK_VERIFY
* Qt::QueuedConnection
This commit is contained in:
Klaus Basan
2020-04-18 02:42:25 +02:00
committed by Mat Sutcliffe
parent fbf63457c1
commit 3be498a347
5 changed files with 37 additions and 18 deletions

View File

@@ -77,8 +77,8 @@ namespace BlackCore
void handleNextRequest();
CPluginManagerWeatherData m_pluginManagerWeatherData { this };
QVector<IWeatherData *> m_weatherDataPlugins;
QVector<WeatherRequest> m_pendingRequests;
QVector<IWeatherData *> m_weatherDataPlugins;
QVector<WeatherRequest> m_pendingRequests;
BlackMisc::Weather::CWeatherGrid m_weatherGrid;
bool m_isWeatherClear = false;
};