impr: Make sure init tasks always get executed

This commit is contained in:
WerWolv
2025-01-04 16:11:05 +01:00
parent 48b202c56b
commit 71f4f87288
4 changed files with 20 additions and 16 deletions

View File

@@ -27,7 +27,7 @@ namespace hex::init {
// Add initialization tasks to run
TaskManager::init();
for (const auto &[name, task, async] : init::getInitTasks())
for (const auto &[name, task, async, running] : init::getInitTasks())
splashWindow->addStartupTask(name, task, async);
splashWindow->startStartupTasks();