From e3a45886cfb0c09ef114e47203d329541ad11ef7 Mon Sep 17 00:00:00 2001 From: Nav Date: Mon, 27 Feb 2023 01:53:24 +0000 Subject: [PATCH] Removed unnecessary blocking operation (which was running on the main thread) --- src/Insight/Insight.cpp | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/Insight/Insight.cpp b/src/Insight/Insight.cpp index a01c4306..dd2e1881 100644 --- a/src/Insight/Insight.cpp +++ b/src/Insight/Insight.cpp @@ -322,10 +322,6 @@ namespace Bloom void Insight::onTargetResetEvent(const Events::TargetReset& event) { try { - if (this->targetControllerService.getTargetState() != TargetState::STOPPED) { - return; - } - if (this->lastTargetState != TargetState::STOPPED) { this->lastTargetState = TargetState::STOPPED; emit this->insightSignals->targetStateUpdated(TargetState::STOPPED);