mirror of
https://github.com/intrepidcs/libicsneo.git
synced 2026-11-05 13:29:06 +01:00
Communication: Clear disconnected on open
This commit is contained in:
committed by
Kyle Schwarz
parent
9f747df692
commit
9e49c315ed
@@ -36,6 +36,8 @@ bool Communication::open() {
|
||||
return false;
|
||||
}
|
||||
|
||||
// A heartbeat timeout marks the driver disconnected and leaves the cleanup to the user, a new open starts connected
|
||||
driver->setIsDisconnected(false);
|
||||
if(!driver->open())
|
||||
return false;
|
||||
spawnThreads();
|
||||
|
||||
Reference in New Issue
Block a user