Expand workaround for Qt on cygwin to 32 bit version

This commit is contained in:
Alexey Sokolov
2016-01-16 21:41:09 +00:00
parent e95f0ea6d6
commit 3dd8f4a214
+1 -3
View File
@@ -102,11 +102,9 @@ class IO {
}
void Close() {
#ifdef __CYGWIN__
#ifdef __x86_64__
// Qt on cygwin64 silently doesn't send the rest of buffer from socket
// Qt on cygwin silently doesn't send the rest of buffer from socket
// without this line
sleep(1);
#endif
#endif
m_device->disconnectFromHost();
}