Skip to content

Commit

Permalink
optimize code
Browse files Browse the repository at this point in the history
  • Loading branch information
hewei.it committed Oct 9, 2021
1 parent 7d5cfb9 commit 2b4723f
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions examples/qt/client/TcpClientPage.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -126,9 +126,6 @@ bool TcpClientPage::connect(int port, const char *host)

void TcpClientPage::close()
{
if (client) {
client->stop(true);
}
SAFE_DELETE(client);
}

Expand Down

0 comments on commit 2b4723f

Please sign in to comment.