From e26c67582920709344036f54bb245086195408f7 Mon Sep 17 00:00:00 2001 From: Thunderforge Date: Sat, 2 Jun 2018 17:29:35 -0500 Subject: [PATCH] Changing join to detach so that the thread will not block the UI --- apps/launcher/datafilespage.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/launcher/datafilespage.cpp b/apps/launcher/datafilespage.cpp index 1f46c7156..bcb2966d5 100644 --- a/apps/launcher/datafilespage.cpp +++ b/apps/launcher/datafilespage.cpp @@ -335,7 +335,7 @@ void Launcher::DataFilesPage::slotAddonDataChanged() // Loading cells for core Morrowind + Expansions takes about 0.2 seconds, which is enough to cause a // barely perceptible UI lag. Splitting into its own thread to alleviate that. std::thread loadCellsThread(&DataFilesPage::reloadCells, this, selectedFiles); - loadCellsThread.join(); + loadCellsThread.detach(); } }