[Tasks] Extend IsTaskCompleted to also be aware of shared task completion (#4714)

* [Tasks] Extend IsTaskCompleted to also be aware of shared task completion

* Fix my stupidity

* Update client.h
This commit is contained in:
Chris Miles
2025-02-24 16:31:35 -06:00
committed by GitHub
parent 80e8634a48
commit fa2ab11676
4 changed files with 41 additions and 4 deletions
+2 -1
View File
@@ -15,8 +15,9 @@ extern QueryServ *QServ;
void Client::LoadClientTaskState()
{
if (RuleB(TaskSystem, EnableTaskSystem) && task_manager) {
safe_delete(task_state);
LoadClientSharedCompletedTasks();
safe_delete(task_state);
task_state = new ClientTaskState();
if (!task_manager->LoadClientState(this, task_state)) {
safe_delete(task_state);