Update src/RunGui.cpp

Co-authored-by: pajlada <rasmus.karlsson@pajlada.com>
This commit is contained in:
Mm2PL 2023-12-02 14:57:53 +01:00 committed by GitHub
parent 76acef0f20
commit 4e37e833ba
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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