From c661d26d2abb543aebc5015656c32cd6bc877764 Mon Sep 17 00:00:00 2001 From: Pontus Fransson Date: Thu, 12 Dec 2013 12:23:35 +0100 Subject: [PATCH] Network - Not deleting smart pointers anymore. --- Code/Network/NetworkAPI/NetworkClient.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Code/Network/NetworkAPI/NetworkClient.cpp b/Code/Network/NetworkAPI/NetworkClient.cpp index 017b0eb4..94077d52 100644 --- a/Code/Network/NetworkAPI/NetworkClient.cpp +++ b/Code/Network/NetworkAPI/NetworkClient.cpp @@ -86,17 +86,17 @@ NetworkClient::PrivateData::~PrivateData() { thread.Stop(); - if(connection) + /*if(connection) { delete connection; connection = NULL; - } + }*/ - if(sendPostBox) + /*if(sendPostBox) { delete sendPostBox; sendPostBox = NULL; - } + }*/ callbackType = NetworkProtocolCallbackType_Unknown;