refs #476 CThreadedReader::gracefulShutdown using the worker abandon feature, removed m_shutdown.

This commit is contained in:
Mathew Sutcliffe
2015-11-25 20:35:48 +00:00
parent 1dc4864ffa
commit 3e1eb350c5
7 changed files with 11 additions and 36 deletions

View File

@@ -172,7 +172,7 @@ namespace BlackCore
this->threadAssertCheck();
// Worker thread, make sure to write only synced here!
if (this->isFinishedOrShutdown())
if (this->isAbandoned())
{
CLogMessage(this).debug() << Q_FUNC_INFO;
CLogMessage(this).info("Terminated VATSIM file parsing process"); // for users
@@ -201,7 +201,7 @@ namespace BlackCore
Section section = SectionNone;
for (const QString &cl : lines)
{
if (this->isFinishedOrShutdown())
if (this->isAbandoned())
{
CLogMessage(this).debug() << Q_FUNC_INFO;
CLogMessage(this).info("Terminated booking parsing process"); // for users