summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/net/download.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/net/download.cpp b/src/net/download.cpp
index 54aa8b217..af3e3eff6 100644
--- a/src/net/download.cpp
+++ b/src/net/download.cpp
@@ -280,7 +280,7 @@ int Download::downloadThread(void *ptr)
if ((d->mOptions.cancel != 0u) || isTerminate == true)
{
// need terminate thread?
- d->mThread = nullptr;
+ //d->mThread = nullptr;
return 0;
}
d->mCurl = curl_easy_init();
@@ -478,7 +478,7 @@ int Download::downloadThread(void *ptr)
if ((d->mOptions.cancel != 0u) || isTerminate == true)
{
// need ternibate thread?
- d->mThread = nullptr;
+ //d->mThread = nullptr;
return 0;
}
attempts++;
@@ -488,7 +488,7 @@ int Download::downloadThread(void *ptr)
break;
}
- d->mThread = nullptr;
+ //d->mThread = nullptr;
if ((d->mOptions.cancel != 0u) || isTerminate == true)
{