mirror of
https://github.com/intrepidcs/libicsneo.git
synced 2026-08-05 01:18:36 +02:00
libicsneoc: Resolve DeviceCurrentlyClosed errors
This commit is contained in:
@@ -21,7 +21,8 @@ int Communication::messageCallbackIDCounter = 1;
|
||||
Communication::~Communication() {
|
||||
if(redirectingRead)
|
||||
clearRedirectRead();
|
||||
close();
|
||||
if(isOpen())
|
||||
close();
|
||||
}
|
||||
|
||||
bool Communication::open() {
|
||||
|
||||
Reference in New Issue
Block a user