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:
+2
-1
@@ -78,7 +78,8 @@ bool Device::SerialStringIsNumeric(const std::string& serial) {
|
||||
Device::~Device() {
|
||||
if(isMessagePollingEnabled())
|
||||
disableMessagePolling();
|
||||
close();
|
||||
if(isOpen())
|
||||
close();
|
||||
}
|
||||
|
||||
uint16_t Device::getTimestampResolution() const {
|
||||
|
||||
Reference in New Issue
Block a user