mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-01 05:26:45 +08:00
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:
@@ -149,6 +149,12 @@ namespace BlackCore
|
||||
Q_UNUSED(s);
|
||||
}
|
||||
|
||||
void CVatsimDataFileReader::cleanup()
|
||||
{
|
||||
delete this->m_networkManager;
|
||||
this->m_networkManager = nullptr;
|
||||
}
|
||||
|
||||
void CVatsimDataFileReader::ps_read()
|
||||
{
|
||||
this->threadAssertCheck();
|
||||
|
||||
Reference in New Issue
Block a user