diff --git a/src/HttpReq.cpp b/src/HttpReq.cpp index 4cd4a46ec..cfe1a44af 100644 --- a/src/HttpReq.cpp +++ b/src/HttpReq.cpp @@ -57,7 +57,8 @@ HttpReq::~HttpReq() { mResolver.cancel(); mSocket.close(); - while(status() == REQ_IN_PROGRESS); //otherwise you get really weird heap-allocation-related crashes + status(); //poll once + //while(status() == REQ_IN_PROGRESS); //otherwise you get really weird heap-allocation-related crashes } void HttpReq::start(const std::string& server, const std::string& path)