From 42c81395b362b9a080dca3f9d62e33c547cb8259 Mon Sep 17 00:00:00 2001 From: flow Date: Sat, 3 Sep 2022 13:25:05 -0300 Subject: fix: race condition on ResourceFolderModel tests This (hopefully) fixes the race contiditions that sometimes got triggered in tests. Signed-off-by: flow --- launcher/minecraft/mod/tasks/LocalModParseTask.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'launcher/minecraft/mod/tasks/LocalModParseTask.h') diff --git a/launcher/minecraft/mod/tasks/LocalModParseTask.h b/launcher/minecraft/mod/tasks/LocalModParseTask.h index 4bbf3c85..413eb2d1 100644 --- a/launcher/minecraft/mod/tasks/LocalModParseTask.h +++ b/launcher/minecraft/mod/tasks/LocalModParseTask.h @@ -39,5 +39,5 @@ private: QFileInfo m_modFile; ResultPtr m_result; - bool m_aborted = false; + std::atomic m_aborted = false; }; -- cgit