浏览代码

optimize code

hewei.it 4 年之前
父节点
当前提交
2b4723ff84
共有 1 个文件被更改,包括 0 次插入3 次删除
  1. 0 3
      examples/qt/client/TcpClientPage.cpp

+ 0 - 3
examples/qt/client/TcpClientPage.cpp

@@ -126,9 +126,6 @@ bool TcpClientPage::connect(int port, const char *host)
 
 void TcpClientPage::close()
 {
-    if (client) {
-        client->stop(true);
-    }
     SAFE_DELETE(client);
 }