refs #476 The readers should delete their QNetworkAccessManager in cleanup(), just before they move back to the main thread for later deletion.

This commit is contained in:
Mathew Sutcliffe
2015-11-25 21:02:32 +00:00
parent 3e1eb350c5
commit ac573b8d92
8 changed files with 42 additions and 0 deletions

View File

@@ -112,6 +112,10 @@ namespace BlackCore
//! Data have been read
void dataRead(BlackMisc::Network::CEntityFlags::Entity entity, BlackMisc::Network::CEntityFlags::ReadState state, int number);
protected:
//! \copydoc CThreadedReader::cleanup
virtual void cleanup() override;
private slots:
//! Data have been read, parse VATSIM file
void ps_parseVatsimFile(QNetworkReply *nwReply);