mirror of
https://github.com/Chatterino/chatterino2.git
synced 2024-11-21 22:24:07 +01:00
Don't use jthread because we can't
This commit is contained in:
parent
2dcd6be804
commit
76acef0f20
1 changed files with 2 additions and 1 deletions
|
@ -245,7 +245,7 @@ void runGui(QApplication &a, Paths &paths, Settings &settings)
|
|||
restartOnSignal = value;
|
||||
});
|
||||
|
||||
auto thread = std::jthread([dir = paths.miscDirectory] {
|
||||
auto thread = std::thread([dir = paths.miscDirectory] {
|
||||
#ifdef Q_OS_WIN32
|
||||
{
|
||||
auto path = combinePath(dir, "Update.exe");
|
||||
|
@ -311,6 +311,7 @@ void runGui(QApplication &a, Paths &paths, Settings &settings)
|
|||
pajlada::Settings::SettingManager::gSave();
|
||||
}
|
||||
|
||||
thread.join();
|
||||
chatterino::NetworkManager::deinit();
|
||||
|
||||
#ifdef USEWINSDK
|
||||
|
|
Loading…
Reference in a new issue