1
0
mirror of https://github.com/The-Powder-Toy/The-Powder-Toy.git synced 2025-04-08 00:14:00 +02:00

attempted error fix

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

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