소스 검색

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);
 }