add a break to prevent possible endless loop
This commit is contained in:
		@@ -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);
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user