Fix exception loops in upload/download.

This commit is contained in:
lotodore
2009-03-21 20:40:52 +00:00
parent a102be7b8c
commit 60a9beb417
2 changed files with 3 additions and 0 deletions
+2
View File
@@ -126,6 +126,8 @@ DownloaderThread::Main()
catch (const NetException &e)
{
LOG_ERROR(e.what());
m_downloadInProgress = false;
m_curDownloadData.reset();
}
}
}
+1
View File
@@ -81,6 +81,7 @@ UploaderThread::Main()
catch (const NetException &e)
{
LOG_ERROR(e.what());
m_uploadInProgress = false;
}
}
}