From 6ddfbbfd9e46942a91257061efe2721c8ddd531e Mon Sep 17 00:00:00 2001 From: Gerhard Hoffmann Date: Tue, 19 Dec 2023 14:25:59 +0100 Subject: [PATCH] add a break to prevent possible endless loop --- update.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/update.cpp b/update.cpp index 8872356..be7cabe 100644 --- a/update.cpp +++ b/update.cpp @@ -123,6 +123,7 @@ Update::Update(Worker *worker, // must deliver 'true', only then are all data from hwapi valid if (--tries < 0) { qCritical() << "ERROR!!! DC DATA NOT VALID -> CA-MASTER-PLUGIN NOT CONNECTED"; + break; } m_hw->dc_autoRequest(true); QThread::msleep(500);