fix: Curl SSL context not being thread safe in the slightest

This commit is contained in:
WerWolv
2022-09-19 21:56:43 +02:00
parent 4c01a749de
commit a55177edfa
5 changed files with 22 additions and 23 deletions

View File

@@ -26,7 +26,7 @@ namespace hex::init {
private:
GLFWwindow *m_window;
std::mutex m_progressMutex;
float m_progress = 0;
std::atomic<float> m_progress = 0;
std::string m_currTaskName;
void initGLFW();