switched thread on Http Response
@@ -54,7 +54,7 @@ void HttpClientManager::handleSendRequest(EventsUploadContextPtr const& ctx)
void HttpClientManager::scheduleOnHttpResponse(HttpCallback* callback)
{
- PAL::executeOnWorkerThread(self(), &HttpClientManager::onHttpResponse, callback);
+ PAL::scheduleOnWorkerThread(0,self(), &HttpClientManager::onHttpResponse, callback);
}
void HttpClientManager::onHttpResponse(HttpCallback* callback)
