Fixed crash

This commit is contained in:
Wenhai Lin
2016-05-20 11:52:13 +08:00
parent b946197b7e
commit 14d3fc1fdb
5 changed files with 22 additions and 13 deletions
+1 -1
View File
@@ -892,7 +892,7 @@ HttpClient::HttpClient()
HttpClient::~HttpClient()
{
CCLOG("In the destructor of HttpClient!");
CC_SAFE_DELETE(_requestSentinel);
CC_SAFE_RELEASE(_requestSentinel);
}
//Lazy create semaphore & mutex & thread