Skip to content
Snippets Groups Projects
Commit 54dbd78f authored by sapier's avatar sapier
Browse files

Fix broken httpfetch due to SimpleThread removal

parent c9ac9992
Branches
Tags
No related merge requests found
......@@ -539,6 +539,7 @@ class CurlFetchThread : public JThread
void * Thread()
{
ThreadStarted();
log_register_thread("CurlFetchThread");
DSTACK(__FUNCTION_NAME);
......@@ -651,6 +652,8 @@ void httpfetch_cleanup()
void httpfetch_async(const HTTPFetchRequest &fetchrequest)
{
g_httpfetch_thread->requestFetch(fetchrequest);
if (!g_httpfetch_thread->IsRunning())
g_httpfetch_thread->Start();
}
static void httpfetch_request_clear(unsigned long caller)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment