Bugfixes part 3 #209

Open
andrey wants to merge 36 commits from bugfixes3 into master
Showing only changes of commit 9e280ef976 - Show all commits
+5
View File
@@ -1292,6 +1292,11 @@ PIVector<PISerial::DeviceInfo> PISerial::availableDevicesInfo(bool test) {
if (!rok) {
ret.remove(i);
--i;
#ifdef WINDOWS
CloseHandle(hComm);
#else
::close(fd);
#endif
continue;
}
#ifdef WINDOWS