diff --git a/src/Application.cpp b/src/Application.cpp index c9184ede..7e23feeb 100644 --- a/src/Application.cpp +++ b/src/Application.cpp @@ -444,8 +444,8 @@ namespace Bloom return; } - const auto targetControllerState = this->targetController->getThreadState(); - if (targetControllerState == ThreadState::STARTING || targetControllerState == ThreadState::READY) { + const auto tcThreadState = this->targetController->getThreadState(); + if (tcThreadState == ThreadState::STARTING || tcThreadState == ThreadState::READY) { EventManager::triggerEvent(std::make_shared()); this->applicationEventListener->waitForEvent( std::chrono::milliseconds(10000)