Avoid issues during shutdown

This commit is contained in:
Klaus Basan
2016-07-13 02:47:00 +02:00
parent 83ff4cb3cf
commit ade581fd50
2 changed files with 4 additions and 0 deletions

View File

@@ -79,6 +79,7 @@ namespace BlackCore
void CVatsimMetarReader::readMetars()
{
if (this->isAbandoned()) { return; }
this->threadAssertCheck();
this->restartTimer(true); // when timer active, restart so we cause no undesired reads