Workaround test failure on cygwin64
This commit is contained in:
1 parent
db550a3aa0
commit
69b031c43c
1 file changed
+7
-1
@@ -72,7 +72,13 @@ public:
|
||||
FlushIfCan(m_device);
|
||||
}
|
||||
void Close() {
|
||||
m_device->close();
|
||||
#ifdef __CYGWIN__
|
||||
#ifdef __x86_64__
|
||||
// Qt on cygwin64 silently doesn't send the rest of buffer from socket without this line
|
||||
sleep(1);
|
||||
#endif
|
||||
#endif
|
||||
m_device->disconnectFromHost();
|
||||
}
|
||||
|
||||
private:
|
||||
|
||||
Reference in new issue
Block a user