mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-03-23 23:45:35 +08:00
Issue #77 Rename
This commit is contained in:
@@ -167,7 +167,7 @@ namespace BlackCore
|
||||
if (!this->isEnabled()) { return false; }
|
||||
|
||||
// MS 2019-02-23 isAbandoned() check only makes sense when called by worker thread (T541)
|
||||
if (CThreadUtils::isCurrentThreadObjectThread(this) && this->isAbandoned()) { return false; }
|
||||
if (CThreadUtils::isInThisThread(this) && this->isAbandoned()) { return false; }
|
||||
|
||||
if (!m_unitTest && (!sApp || sApp->isShuttingDown())) { return false; }
|
||||
return true;
|
||||
|
||||
Reference in New Issue
Block a user