Skip to content

Commit

Permalink
MockWebSocketServer use Qt memory management system for deletion
Browse files Browse the repository at this point in the history
Signed-off-by: Felix Weilbach <[email protected]>
  • Loading branch information
Felix Weilbach committed Jan 16, 2021
1 parent 9b3a59b commit 19135ba
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions test/mockwebsocketserver.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,6 @@ MockWebSocketServer::~MockWebSocketServer()

_webSocketServer->close();
qDeleteAll(_clients.begin(), _clients.end());

delete _webSocketServer;
}

void MockWebSocketServer::processTextMessageInternal(const QString &message)
Expand Down

0 comments on commit 19135ba

Please sign in to comment.