attempted error fix

This commit is contained in:
jacob1 2016-06-11 12:57:13 -04:00
parent 337a929cc3
commit 5b5390f822

View File

@ -38,7 +38,7 @@ void DownloadManager::Shutdown()
managerShutdown = true; managerShutdown = true;
pthread_mutex_unlock(&downloadAddLock); pthread_mutex_unlock(&downloadAddLock);
pthread_mutex_unlock(&downloadLock); pthread_mutex_unlock(&downloadLock);
if (downloadThread) if (downloadThread != 0)
pthread_join(downloadThread, NULL); pthread_join(downloadThread, NULL);
} }