fix: Crash due to task manager not being fully reset
This commit is contained in:
parent
27aef75e54
commit
464495987a
@ -300,6 +300,9 @@ namespace hex {
|
|||||||
|
|
||||||
s_tasks.clear();
|
s_tasks.clear();
|
||||||
s_taskQueue.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) {
|
TaskHolder TaskManager::createTask(std::string name, u64 maxValue, bool background, std::function<void(Task&)> function) {
|
||||||
|
Loading…
Reference in New Issue
Block a user