diff options
author | JackLivio <jack@livio.io> | 2019-03-16 13:29:48 -0400 |
---|---|---|
committer | JackLivio <jack@livio.io> | 2019-03-16 13:29:48 -0400 |
commit | 9d408169f2898ecf8935c2bbc7eec227ac3ed120 (patch) | |
tree | af6a8967422d3d7648d465e707a47215deacc56a /src | |
parent | 6328bb42cc8699f018be74b15544cfeb6c4100e7 (diff) | |
download | sdl_core-9d408169f2898ecf8935c2bbc7eec227ac3ed120.tar.gz |
Set deleted pointers to nullfix/cloud_app_mem_leak
Diffstat (limited to 'src')
-rw-r--r-- | src/components/transport_manager/src/cloud/websocket_client_connection.cc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/components/transport_manager/src/cloud/websocket_client_connection.cc b/src/components/transport_manager/src/cloud/websocket_client_connection.cc index 8944bd74b6..057e3d7208 100644 --- a/src/components/transport_manager/src/cloud/websocket_client_connection.cc +++ b/src/components/transport_manager/src/cloud/websocket_client_connection.cc @@ -267,7 +267,9 @@ void WebsocketClientConnection::Shutdown() { thread_delegate_->SetShutdown(); write_thread_->join(); delete thread_delegate_; + thread_delegate_ = NULL; threads::DeleteThread(write_thread_); + write_thread_ = NULL; } if (buffer_.size()) { buffer_.consume(buffer_.size()); |