diff --git a/gpt4all-chat/chatllm.h b/gpt4all-chat/chatllm.h index 67226d4e..736d29e4 100644 --- a/gpt4all-chat/chatllm.h +++ b/gpt4all-chat/chatllm.h @@ -157,7 +157,7 @@ protected: QThread m_llmThread; std::atomic m_stopGenerating; std::atomic m_shouldBeLoaded; - bool m_isRecalc; + std::atomic m_isRecalc; bool m_isServer; bool m_isChatGPT; };