Loading
net: mqtt: Fix possible socket leak with websocket transport
In case underlying TCP/TLS connection is already down, the websocket_disconnect() call is expected to fail, as it involves communication. Therefore, mqtt_client_websocket_disconnect() should not quit early in such cases, as it could lead to an underlying socket leak. Signed-off-by:Robert Lubos <robert.lubos@nordicsemi.no> (cherry picked from commit 4625fa71)