Browse Source

optimize code

hewei.it 4 năm trước cách đây
mục cha
commit
2b4723ff84
1 tập tin đã thay đổi với 0 bổ sung3 xóa
  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);
 }