mirror of
https://github.com/intrepidcs/libicsneo.git
synced 2026-08-05 01:18:36 +02:00
Finished adding error checking
This commit is contained in:
+3
-1
@@ -204,7 +204,9 @@ bool Device::close() {
|
||||
|
||||
internalHandlerCallbackID = 0;
|
||||
|
||||
goOffline();
|
||||
if(isOnline())
|
||||
goOffline();
|
||||
|
||||
return com->close();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user