1
0
mirror of https://gitee.com/drabel/LibQQt.git synced 2025-01-04 10:18:44 +08:00
This commit is contained in:
tianduanrui 2018-05-15 20:33:31 +08:00
commit 61d6b03ffc
4 changed files with 2 additions and 1 deletions

0
src/linux_cd_path.sh Normal file → Executable file
View File

0
src/linux_cp_files.sh Normal file → Executable file
View File

0
src/linux_cur_path.sh Normal file → Executable file
View File

View File

@ -109,7 +109,8 @@ int QQtTcpClient::sendDisConnectFromHost()
shutdown ( this->socketDescriptor(), SHUT_RDWR );
#endif
disconnectFromHost();
waitForDisconnected();
if ( state() != UnconnectedState )
waitForDisconnected();
close();
emit signalDisConnectSucc();
}