mirror of https://github.com/qt/qthttpserver.git
Raw pointers to QWebSocket objects are used in the websocket test, and they are deleted manually at the end of the test, but if the test fails the QWebSocket objects are not deleted. Use std::unique_ptr instead to ensure the that the QWebSocket objects are always deleted. Change-Id: I71c65698c17bd2a86ffca23f5a6e48874519f0b4 Reviewed-by: Marc Mutz <marc.mutz@qt.io> |
||
---|---|---|
.. | ||
auto | ||
CMakeLists.txt |