diff --git a/device/device.cpp b/device/device.cpp index d28f2fa..2ab887f 100644 --- a/device/device.cpp +++ b/device/device.cpp @@ -240,7 +240,7 @@ bool Device::open() { if(!receivedMessage && !settings->applyingSettings) { if(!stopHeartbeatThread) report(APIEvent::Type::DeviceDisconnected, APIEvent::Severity::Error); - return; + break; } } receivedMessage = false;