Skip to content
Permalink
Browse files

Fix broken httpfetch due to SimpleThread removal

  • Loading branch information
sapier sapier
sapier authored and sapier committed Dec 16, 2013
1 parent c9ac999 commit 54dbd78f90543c22ad2c37c7117a50575b62301d
Showing with 3 additions and 0 deletions.
  1. +3 −0 src/httpfetch.cpp
@@ -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 comments on commit 54dbd78

Please sign in to comment.
You can’t perform that action at this time.