mirror of
https://github.com/The-Powder-Toy/The-Powder-Toy.git
synced 2025-08-16 13:24:02 +02:00
attempted error fix
This commit is contained in:
@@ -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);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user