mirror of
https://github.com/WerWolv/ImHex
synced 2024-10-19 17:22:30 +00:00
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_taskQueue.clear();
|
||||
|
||||
s_deferredCalls.clear();
|
||||
s_tasksFinishedCallbacks.clear();
|
||||
}
|
||||
|
||||
TaskHolder TaskManager::createTask(std::string name, u64 maxValue, bool background, std::function<void(Task&)> function) {
|
||||
|
|
Loading…
Reference in a new issue