mirror of
https://github.com/WerWolv/ImHex.git
synced 2026-03-28 07:47:03 -05:00
fix: Crash due to task manager not being fully reset
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user