Bugfixes part 3 #209
@@ -1292,6 +1292,11 @@ PIVector<PISerial::DeviceInfo> PISerial::availableDevicesInfo(bool test) {
|
|||||||
if (!rok) {
|
if (!rok) {
|
||||||
ret.remove(i);
|
ret.remove(i);
|
||||||
--i;
|
--i;
|
||||||
|
#ifdef WINDOWS
|
||||||
|
CloseHandle(hComm);
|
||||||
|
#else
|
||||||
|
::close(fd);
|
||||||
|
#endif
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
#ifdef WINDOWS
|
#ifdef WINDOWS
|
||||||
|
|||||||
Reference in New Issue
Block a user