1
0
mirror of synced 2024-11-24 07:40:17 +01:00

fix: Crash due to task manager not being fully reset

This commit is contained in:
WerWolv 2024-01-04 21:33:17 +01:00
parent 27aef75e54
commit 464495987a

View File

@ -300,6 +300,9 @@ namespace hex {
s_tasks.clear();
s_taskQueue.clear();
s_deferredCalls.clear();
s_tasksFinishedCallbacks.clear();
}
TaskHolder TaskManager::createTask(std::string name, u64 maxValue, bool background, std::function<void(Task&)> function) {