From 4e37e833ba774267e516dd3c4f29049b0c4f6b51 Mon Sep 17 00:00:00 2001 From: Mm2PL Date: Sat, 2 Dec 2023 14:57:53 +0100 Subject: [PATCH] Update src/RunGui.cpp Co-authored-by: pajlada --- src/RunGui.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/RunGui.cpp b/src/RunGui.cpp index 9932055a9..1fe6ada4e 100644 --- a/src/RunGui.cpp +++ b/src/RunGui.cpp @@ -311,7 +311,9 @@ void runGui(QApplication &a, Paths &paths, Settings &settings) pajlada::Settings::SettingManager::gSave(); } - thread.join(); + if (thread.joinable()) { + thread.join(); + } chatterino::NetworkManager::deinit(); #ifdef USEWINSDK